org.aspectj.compiler.crosscuts.ast
Class SimpleName

java.lang.Object
  extended byorg.aspectj.compiler.base.CompilerObject
      extended byorg.aspectj.compiler.base.ast.ASTObject
          extended byorg.aspectj.compiler.crosscuts.ast.NamePattern
              extended byorg.aspectj.compiler.crosscuts.ast.SimpleName

public class SimpleName
extends NamePattern


Field Summary
protected  java.lang.String value
           
 
Fields inherited from class org.aspectj.compiler.base.ast.ASTObject
dummySource, parent, sourceLocation
 
Constructor Summary
  SimpleName(Identifier _ident)
           
protected SimpleName(SourceLocation source)
           
  SimpleName(SourceLocation location, java.lang.String _value)
           
  SimpleName(java.lang.String _value)
           
 
Method Summary
 SimpleName addString(java.lang.String s)
           
 ASTObject copyWalk(CopyWalker walker)
           
 java.lang.String getDefaultDisplayName()
           
 java.lang.String getLookupString()
           
 java.lang.String getSimpleName()
          returns null if there is any star'ness in this pattern
 java.lang.String getValue()
           
 boolean matches(java.lang.String s)
           
 void setValue(java.lang.String _value)
           
 java.lang.String toShortString()
           
 
Methods inherited from class org.aspectj.compiler.crosscuts.ast.NamePattern
isStar, unparse, unparse
 
Methods inherited from class org.aspectj.compiler.base.ast.ASTObject
addComment, buildAccessMethod, checkNoSharing, checkSpec, cleanup, clearComment, clearParent, contains, containsTypes, copy, display, fixAccessPost, fixAST, fromSource, getAST, getBeginColumn, getBeginLine, getBytecodeType, getBytecodeTypeDec, getChildAt, getChildCount, getChildNameAt, getComment, getCompilationUnit, getDeclaringType, getEnclosingCodeDec, getEnclosingDec, getEndColumn, getEndLine, getEndPosition, getFormalComment, getLexicalType, getOutermostBytecodeType, getOutermostLexicalType, getParent, getSourceDirectoryName, getSourceFile, getSourceFileName, getSourceLocation, getStartPosition, hasLegalProtectedAccess, hasSource, hasSourceLocation, implementMixin, indexOf, inStaticContext, isLanguageVisible, isLeaf, isSynthetic, makeChild, makeChild, postAssignmentCheck, postCleanup, postCopy, postFixAST, postImplementMixin, postInnerAccess, postInnerInfo, postLift, postMove, postScope, postThreading, preAssignmentCheck, preCopy, preIntroduction, preLift, preMove, preScope, preThreading, remove, remove, removeChildAt, replaceWith, setChildAt, setFormalComment, setParent, setParents, setSource, setSourceLocation, setSyntheticSource, showError, showMessage, showTypeError, showWarning, toString, walk, walkAnalysis, walkAssignmentCheck, walkCleanup, walkFlow, walkForwardReference, walkFrameLoc, walkInnerInfo, walkMemberMunger, walkScope
 
Methods inherited from class org.aspectj.compiler.base.CompilerObject
getCompiler, getOptions, getTypeManager, getWorld
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

value

protected java.lang.String value
Constructor Detail

SimpleName

public SimpleName(SourceLocation location,
                  java.lang.String _value)

SimpleName

public SimpleName(java.lang.String _value)

SimpleName

public SimpleName(Identifier _ident)

SimpleName

protected SimpleName(SourceLocation source)
Method Detail

getLookupString

public java.lang.String getLookupString()
Specified by:
getLookupString in class NamePattern

matches

public boolean matches(java.lang.String s)
Specified by:
matches in class NamePattern

toShortString

public java.lang.String toShortString()
Specified by:
toShortString in class NamePattern

getSimpleName

public java.lang.String getSimpleName()
Description copied from class: NamePattern
returns null if there is any star'ness in this pattern

Overrides:
getSimpleName in class NamePattern

getValue

public java.lang.String getValue()

setValue

public void setValue(java.lang.String _value)

addString

public SimpleName addString(java.lang.String s)

copyWalk

public ASTObject copyWalk(CopyWalker walker)
Overrides:
copyWalk in class ASTObject

getDefaultDisplayName

public java.lang.String getDefaultDisplayName()
Overrides:
getDefaultDisplayName in class NamePattern