org.aspectj.compiler.crosscuts.ast
Class KindedPcd
java.lang.Object
org.aspectj.compiler.base.CompilerObject
org.aspectj.compiler.base.ast.ASTObject
org.aspectj.compiler.base.ast.Expr
org.aspectj.compiler.crosscuts.ast.Pcd
org.aspectj.compiler.crosscuts.ast.KindedPcd
- Direct Known Subclasses:
- CallPcd, ExecutionPcd, FieldGetPcd, FieldSetPcd, InitializerPcd, PreInitializerPcd, StaticInitializerPcd
- public abstract class KindedPcd
- extends Pcd
Fields inherited from class org.aspectj.compiler.base.ast.Expr |
type |
Methods inherited from class org.aspectj.compiler.base.ast.Expr |
assertType, canBeCopied, cgBuffer, cgEffect, cgTest, cgValue, cgValue, checkSpec, cleanup, getType, isAssignableTo, isConstantFalse, isConstantTrue, isConstantZero, isInConstructorCallExpr, isInExprStmt, isLegalStmt, isMethodConvertableTo, isUltimatelyLiteral, makeQualifiedThis, makeReference, postCopy, setType, showOperatorTypeError, showOperatorTypeError, walkCleanup, walkFrameLoc |
Methods inherited from class org.aspectj.compiler.base.ast.ASTObject |
addComment, buildAccessMethod, checkNoSharing, 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, 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, walkFlow, walkForwardReference, 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 |
pattern
protected DecPattern pattern
KindedPcd
public KindedPcd(SourceLocation location,
DecPattern _pattern)
KindedPcd
protected KindedPcd(SourceLocation source)
checkStatic
public void checkStatic()
- Description copied from class:
Pcd
- This should call "showNonStaticError()" for any Pcd that can not be used
for purely static matching. This is used by 'declare error/warning' and
'declare soft'.
- Specified by:
checkStatic
in class Pcd
unparse
public void unparse(org.aspectj.compiler.base.CodeWriter writer)
throws java.io.IOException
- Overrides:
unparse
in class Pcd
- Throws:
java.io.IOException
unparse
public java.lang.String unparse()
- Overrides:
unparse
in class Pcd
toShortString
public java.lang.String toShortString()
- Specified by:
toShortString
in class Pcd
getKind
public abstract java.lang.String getKind()
getJpKind
public abstract int getJpKind()
makePlanner
public org.aspectj.compiler.crosscuts.joinpoints.JpPlanner makePlanner(PlanData planData)
- Description copied from class:
Pcd
- Build a partial plan for this pointcut on the given joinPoint in the
context of the planData.
- Specified by:
makePlanner
in class Pcd
getPattern
public DecPattern getPattern()
setPattern
public void setPattern(DecPattern _pattern)
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 Expr