org.aspectj.compiler.crosscuts.ast
Class DecPattern

java.lang.Object
  extended byorg.aspectj.compiler.base.CompilerObject
      extended byorg.aspectj.compiler.base.ast.ASTObject
          extended byorg.aspectj.compiler.crosscuts.ast.DecPattern
Direct Known Subclasses:
CodePattern, FieldPattern

public abstract class DecPattern
extends ASTObject


Field Summary
protected  GenTypeName declaringTypeName
           
protected  Modifiers modifiers
           
 
Fields inherited from class org.aspectj.compiler.base.ast.ASTObject
dummySource, parent, sourceLocation
 
Constructor Summary
protected DecPattern(SourceLocation source)
           
  DecPattern(SourceLocation location, Modifiers _modifiers, GenTypeName _declaringTypeName)
           
 
Method Summary
 ASTObject getChildAt(int childIndex)
           
 int getChildCount()
           
 java.lang.String getChildNameAt(int childIndex)
           
 GenTypeName getDeclaringTypeName()
           
 java.lang.String getDefaultDisplayName()
           
abstract  java.lang.String getLookupId()
           
 Modifiers getModifiers()
           
protected  boolean isStaticMatch(SemanticObject so)
           
protected  java.lang.String makeDeclaringTypeString()
           
 org.aspectj.util.FuzzyBoolean matches(org.aspectj.compiler.crosscuts.joinpoints.JoinPoint jp)
           
 void setChildAt(int childIndex, ASTObject child)
           
 void setDeclaringTypeName(GenTypeName _declaringTypeName)
           
 void setModifiers(Modifiers _modifiers)
           
abstract  java.lang.String toShortString()
           
 java.lang.String unparse()
           
 void unparse(org.aspectj.compiler.base.CodeWriter writer)
           
 
Methods inherited from class org.aspectj.compiler.base.ast.ASTObject
addComment, buildAccessMethod, checkNoSharing, checkSpec, cleanup, clearComment, clearParent, contains, containsTypes, copy, copyWalk, 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

modifiers

protected Modifiers modifiers

declaringTypeName

protected GenTypeName declaringTypeName
Constructor Detail

DecPattern

public DecPattern(SourceLocation location,
                  Modifiers _modifiers,
                  GenTypeName _declaringTypeName)

DecPattern

protected DecPattern(SourceLocation source)
Method Detail

unparse

public void unparse(org.aspectj.compiler.base.CodeWriter writer)
             throws java.io.IOException
Overrides:
unparse in class ASTObject
Throws:
java.io.IOException

unparse

public java.lang.String unparse()
Overrides:
unparse in class ASTObject

toShortString

public abstract java.lang.String toShortString()
Overrides:
toShortString in class ASTObject

makeDeclaringTypeString

protected java.lang.String makeDeclaringTypeString()

getLookupId

public abstract java.lang.String getLookupId()

matches

public org.aspectj.util.FuzzyBoolean matches(org.aspectj.compiler.crosscuts.joinpoints.JoinPoint jp)

isStaticMatch

protected boolean isStaticMatch(SemanticObject so)

getModifiers

public Modifiers getModifiers()

setModifiers

public void setModifiers(Modifiers _modifiers)

getDeclaringTypeName

public GenTypeName getDeclaringTypeName()

setDeclaringTypeName

public void setDeclaringTypeName(GenTypeName _declaringTypeName)

getChildAt

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

getChildNameAt

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

setChildAt

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

getChildCount

public int getChildCount()
Overrides:
getChildCount in class ASTObject

getDefaultDisplayName

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