1 24 25 package org.aspectj.compiler.crosscuts.ast; 26 import org.aspectj.compiler.base.ast.*; 27 import org.aspectj.compiler.crosscuts.joinpoints.*; 28 29 30 import java.util.*; 31 32 import org.aspectj.compiler.base.JavaCompiler; 33 34 38 abstract public class Pcd extends Expr { 41 42 public Pcd(SourceLocation source) { 43 super(source); 44 } 45 46 protected Type discoverType() { return null; } 48 49 abstract public String toShortString(); 50 51 57 abstract public JpPlanner makePlanner(PlanData planData); 58 59 62 public boolean allowsNameBinding() { return false; } 63 64 69 public abstract void checkStatic(); 70 71 protected void showNonStaticError() { 72 showError("dynamic matching PCD not allowed in this context"); 73 } 74 75 } 80 | Popular Tags |