1 24 25 package org.aspectj.compiler.crosscuts.ast; 26 27 import org.aspectj.compiler.base.ast.*; 28 import org.aspectj.compiler.crosscuts.joinpoints.*; 29 import org.aspectj.util.FuzzyBoolean; 30 import java.util.*; 31 32 33 import org.aspectj.compiler.base.JavaCompiler; 34 35 38 39 public class EmptyPcd extends Pcd { 40 public String toShortString() { return ""; } 41 42 public void checkStatic() { } 43 44 public JpPlanner makePlanner(PlanData planData) { 45 return new JpPlanner() { 46 public FuzzyBoolean fastMatch(JoinPoint jp) { 47 return FuzzyBoolean.NO; 48 } 49 }; 50 } 51 52 54 public EmptyPcd(SourceLocation location) { 55 super(location); 56 57 } 58 59 public ASTObject copyWalk(CopyWalker walker) { 60 EmptyPcd ret = new EmptyPcd(getSourceLocation()); 61 ret.preCopy(walker, this); 62 63 return ret; 64 } 65 66 67 public String getDefaultDisplayName() { 68 return "EmptyPcd()"; 69 } 70 71 } 73 74 | Popular Tags |