org.aspectj.compiler.crosscuts.ast
Class FieldPattern

java.lang.Object
  extended byorg.aspectj.compiler.base.CompilerObject
      extended byorg.aspectj.compiler.base.ast.ASTObject
          extended byorg.aspectj.compiler.crosscuts.ast.DecPattern
              extended byorg.aspectj.compiler.crosscuts.ast.FieldPattern

public class FieldPattern
extends DecPattern


Field Summary
protected  GenTypeName fieldTypeName
           
protected  NamePattern id
           
 
Fields inherited from class org.aspectj.compiler.crosscuts.ast.DecPattern
declaringTypeName, modifiers
 
Fields inherited from class org.aspectj.compiler.base.ast.ASTObject
dummySource, parent, sourceLocation
 
Constructor Summary
  FieldPattern(Modifiers _modifiers, GenTypeName _declaringTypeName, GenTypeName _fieldTypeName, NamePattern _id)
           
protected FieldPattern(SourceLocation source)
           
  FieldPattern(SourceLocation location, Modifiers _modifiers, GenTypeName _declaringTypeName, GenTypeName _fieldTypeName, NamePattern _id)
           
 
Method Summary
 ASTObject copyWalk(CopyWalker walker)
           
 ASTObject getChildAt(int childIndex)
           
 int getChildCount()
           
 java.lang.String getChildNameAt(int childIndex)
           
 java.lang.String getDefaultDisplayName()
           
 GenTypeName getFieldTypeName()
           
 NamePattern getId()
           
 java.lang.String getLookupId()
           
protected  boolean isStaticMatch(SemanticObject so)
           
 org.aspectj.util.FuzzyBoolean matches(org.aspectj.compiler.crosscuts.joinpoints.JoinPoint jp)
           
 void setChildAt(int childIndex, ASTObject child)
           
 void setFieldTypeName(GenTypeName _fieldTypeName)
           
 void setId(NamePattern _id)
           
 java.lang.String toShortString()
           
 
Methods inherited from class org.aspectj.compiler.crosscuts.ast.DecPattern
getDeclaringTypeName, getModifiers, makeDeclaringTypeString, setDeclaringTypeName, setModifiers, 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, 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, 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

fieldTypeName

protected GenTypeName fieldTypeName

id

protected NamePattern id
Constructor Detail

FieldPattern

public FieldPattern(SourceLocation location,
                    Modifiers _modifiers,
                    GenTypeName _declaringTypeName,
                    GenTypeName _fieldTypeName,
                    NamePattern _id)

FieldPattern

public FieldPattern(Modifiers _modifiers,
                    GenTypeName _declaringTypeName,
                    GenTypeName _fieldTypeName,
                    NamePattern _id)

FieldPattern

protected FieldPattern(SourceLocation source)
Method Detail

toShortString

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

getLookupId

public java.lang.String getLookupId()
Specified by:
getLookupId in class DecPattern

matches

public org.aspectj.util.FuzzyBoolean matches(org.aspectj.compiler.crosscuts.joinpoints.JoinPoint jp)
Overrides:
matches in class DecPattern

isStaticMatch

protected boolean isStaticMatch(SemanticObject so)
Overrides:
isStaticMatch in class DecPattern

getFieldTypeName

public GenTypeName getFieldTypeName()

setFieldTypeName

public void setFieldTypeName(GenTypeName _fieldTypeName)

getId

public NamePattern getId()

setId

public void setId(NamePattern _id)

copyWalk

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

getChildAt

public ASTObject getChildAt(int childIndex)
Overrides:
getChildAt in class DecPattern

getChildNameAt

public java.lang.String getChildNameAt(int childIndex)
Overrides:
getChildNameAt in class DecPattern

setChildAt

public void setChildAt(int childIndex,
                       ASTObject child)
Overrides:
setChildAt in class DecPattern

getChildCount

public int getChildCount()
Overrides:
getChildCount in class DecPattern

getDefaultDisplayName

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