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 37 public abstract class NamePattern extends ASTObject { 38 public abstract String getLookupString(); 39 40 public abstract boolean matches(String s); 41 42 public abstract String toShortString(); 43 44 public boolean isStar() { return false; } 45 46 47 public String getSimpleName() { 48 return null; 49 } 50 51 53 public NamePattern(SourceLocation location) { 54 super(location); 55 56 } 57 58 59 public String getDefaultDisplayName() { 60 return "NamePattern()"; 61 } 62 63 } 65 66 | Popular Tags |