1 18 19 package org.objectweb.jac.ide; 20 21 import java.util.Vector ; 22 import java.util.List ; 23 24 public class Aspect extends Class { 25 26 List pointcutLinks=new Vector (); 27 28 32 public List getPointcutLinks() { 33 return pointcutLinks; 34 } 35 36 public void addPointcutLink(PointcutLink l) { 37 pointcutLinks.add(l); 38 l.setStart(this); 39 } 40 41 public void removePointcutLink(PointcutLink l) { 42 pointcutLinks.remove(l); 43 } 44 45 List aspectMethods=new Vector (); 46 47 51 public List getAspectMethods() { 52 return aspectMethods; 53 } 54 55 public void addAspectMethod(AspectMethod m) { 56 aspectMethods.add(m); 57 } 58 59 public void removeAspectMethod(AspectMethod m) { 60 aspectMethods.remove(m); 61 } 62 63 } 64 | Popular Tags |