org.aspectj.compiler.crosscuts.ast
Class ConstructorPattern

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.CodePattern
                  extended byorg.aspectj.compiler.crosscuts.ast.ConstructorPattern

public class ConstructorPattern
extends CodePattern


Field Summary
protected  FormalsPattern formalsPattern
           
protected  NameTypeDsPattern throwsPattern
           
 
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
  ConstructorPattern(Modifiers _modifiers, NamePattern _declaringName, FormalsPattern _formalsPattern, NameTypeDsPattern _throwsPattern)
           
protected ConstructorPattern(SourceLocation source)
           
  ConstructorPattern(SourceLocation location, Modifiers _modifiers, GenTypeName _declaringTypeName, FormalsPattern _formalsPattern, NameTypeDsPattern _throwsPattern)
           
 
Method Summary
 ASTObject copyWalk(CopyWalker walker)
           
 ASTObject getChildAt(int childIndex)
           
 int getChildCount()
           
 java.lang.String getChildNameAt(int childIndex)
           
 java.lang.String getDefaultDisplayName()
           
 FormalsPattern getFormalsPattern()
           
 java.lang.String getLookupId()
           
 NameTypeDsPattern getThrowsPattern()
           
protected  boolean isStaticMatch(SemanticObject so)
           
 org.aspectj.util.FuzzyBoolean matches(org.aspectj.compiler.crosscuts.joinpoints.JoinPoint jp)
           
 void setChildAt(int childIndex, ASTObject child)
           
 void setFormalsPattern(FormalsPattern _formalsPattern)
           
 void setThrowsPattern(NameTypeDsPattern _throwsPattern)
           
 java.lang.String toShortString()
           
 
Methods inherited from class org.aspectj.compiler.crosscuts.ast.CodePattern
unparse, unparse
 
Methods inherited from class org.aspectj.compiler.crosscuts.ast.DecPattern
getDeclaringTypeName, getModifiers, makeDeclaringTypeString, setDeclaringTypeName, setModifiers
 
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

formalsPattern

protected FormalsPattern formalsPattern

throwsPattern

protected NameTypeDsPattern throwsPattern
Constructor Detail

ConstructorPattern

public ConstructorPattern(SourceLocation location,
                          Modifiers _modifiers,
                          GenTypeName _declaringTypeName,
                          FormalsPattern _formalsPattern,
                          NameTypeDsPattern _throwsPattern)

ConstructorPattern

public ConstructorPattern(Modifiers _modifiers,
                          NamePattern _declaringName,
                          FormalsPattern _formalsPattern,
                          NameTypeDsPattern _throwsPattern)

ConstructorPattern

protected ConstructorPattern(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

isStaticMatch

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

matches

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

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