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 import org.aspectj.compiler.base.JavaCompiler; 30 31 import java.util.*; 32 import org.aspectj.util.FuzzyBoolean; 33 34 37 38 public class EllipsesFakeTypeName extends GenTypeName { 39 public String toShortString() { 40 return ".."; 41 } 42 43 public boolean matches(Type type) { 44 return false; 45 } 46 public FuzzyBoolean matchesInstance(Type type) { 47 return FuzzyBoolean.NO; 48 } 49 50 public JpPlan makePlan(JoinPoint point, Expr expr) { 51 return null; 52 } 53 54 56 public EllipsesFakeTypeName(SourceLocation location) { 57 super(location); 58 59 } 60 61 public ASTObject copyWalk(CopyWalker walker) { 62 EllipsesFakeTypeName ret = new EllipsesFakeTypeName(getSourceLocation()); 63 ret.preCopy(walker, this); 64 65 return ret; 66 } 67 68 69 public String getDefaultDisplayName() { 70 return "EllipsesFakeTypeName()"; 71 } 72 73 } 75 76 | Popular Tags |