org.aspectj.compiler.crosscuts.ast
Class MethodPattern
java.lang.Object
org.aspectj.compiler.base.CompilerObject
org.aspectj.compiler.base.ast.ASTObject
org.aspectj.compiler.crosscuts.ast.DecPattern
org.aspectj.compiler.crosscuts.ast.CodePattern
org.aspectj.compiler.crosscuts.ast.MethodPattern
- public class MethodPattern
- extends CodePattern
Constructor Summary |
|
MethodPattern(Modifiers _modifiers,
GenTypeName _declaringTypeName,
GenTypeName _returnTypeName,
NamePattern _id,
FormalsPattern _formalsPattern,
NameTypeDsPattern _throwsPattern)
|
protected |
MethodPattern(SourceLocation source)
|
|
MethodPattern(SourceLocation location,
Modifiers _modifiers,
GenTypeName _declaringTypeName,
GenTypeName _returnTypeName,
NamePattern _id,
FormalsPattern _formalsPattern,
NameTypeDsPattern _throwsPattern)
|
Methods inherited from class org.aspectj.compiler.base.ast.ASTObject |
addComment, buildAccessMethod, checkNoSharing, 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 |
returnTypeName
protected GenTypeName returnTypeName
id
protected NamePattern id
formalsPattern
protected FormalsPattern formalsPattern
throwsPattern
protected NameTypeDsPattern throwsPattern
MethodPattern
public MethodPattern(SourceLocation location,
Modifiers _modifiers,
GenTypeName _declaringTypeName,
GenTypeName _returnTypeName,
NamePattern _id,
FormalsPattern _formalsPattern,
NameTypeDsPattern _throwsPattern)
MethodPattern
public MethodPattern(Modifiers _modifiers,
GenTypeName _declaringTypeName,
GenTypeName _returnTypeName,
NamePattern _id,
FormalsPattern _formalsPattern,
NameTypeDsPattern _throwsPattern)
MethodPattern
protected MethodPattern(SourceLocation source)
toShortString
public java.lang.String toShortString()
- Specified by:
toShortString
in class DecPattern
checkSpec
public void checkSpec()
- Overrides:
checkSpec
in class ASTObject
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
getReturnTypeName
public GenTypeName getReturnTypeName()
setReturnTypeName
public void setReturnTypeName(GenTypeName _returnTypeName)
getId
public NamePattern getId()
setId
public void setId(NamePattern _id)
getFormalsPattern
public FormalsPattern getFormalsPattern()
setFormalsPattern
public void setFormalsPattern(FormalsPattern _formalsPattern)
getThrowsPattern
public NameTypeDsPattern getThrowsPattern()
setThrowsPattern
public void setThrowsPattern(NameTypeDsPattern _throwsPattern)
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 CodePattern