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.InvertableSet; 33 34 35 38 public class AnyName extends NamePattern { 39 public String getLookupString() { 40 return "*"; 41 } 42 43 public boolean isStar() { return true; } 44 45 public boolean matches(String s) { 46 return true; 47 } 48 49 public String toShortString() { 50 return "*"; 51 } 52 53 55 public AnyName(SourceLocation location) { 56 super(location); 57 58 } 59 60 public ASTObject copyWalk(CopyWalker walker) { 61 AnyName ret = new AnyName(getSourceLocation()); 62 ret.preCopy(walker, this); 63 64 return ret; 65 } 66 67 68 public String getDefaultDisplayName() { 69 return "AnyName()"; 70 } 71 72 } 74 75 76 | Popular Tags |