org.aspectj.compiler.crosscuts.ast
Class PerThisOrTarget

java.lang.Object
  extended byorg.aspectj.compiler.base.CompilerObject
      extended byorg.aspectj.compiler.base.ast.ASTObject
          extended byorg.aspectj.compiler.crosscuts.ast.PerClause
              extended byorg.aspectj.compiler.crosscuts.ast.PerThisOrTarget

public class PerThisOrTarget
extends PerClause


Field Summary
protected  boolean onThis
           
protected  Pcd pcd
           
 
Fields inherited from class org.aspectj.compiler.base.ast.ASTObject
dummySource, parent, sourceLocation
 
Constructor Summary
  PerThisOrTarget(Pcd _pcd, boolean _onThis)
           
protected PerThisOrTarget(SourceLocation source)
           
  PerThisOrTarget(SourceLocation location, Pcd _pcd, boolean _onThis)
           
 
Method Summary
 ASTObject copyWalk(CopyWalker walker)
           
 ASTObject getChildAt(int childIndex)
           
 int getChildCount()
           
 java.lang.String getChildNameAt(int childIndex)
           
 java.lang.String getDefaultDisplayName()
           
 InterfaceDec getHasAspectInterface()
           
 Type getHasAspectInterfaceType()
           
 boolean getOnThis()
           
 Pcd getPcd()
           
protected  MethodDec makeAspectOfMethod()
           
protected  MethodDec makeHasAspectMethod()
           
 org.aspectj.compiler.crosscuts.joinpoints.JpPlanner makeInitializerPlanner(PlanData planData)
           
 org.aspectj.compiler.crosscuts.joinpoints.JpPlanner makeInnerPlanner(PlanData planData)
           
 Expr makeOnExpr(org.aspectj.compiler.crosscuts.joinpoints.JoinPoint point)
           
 void setChildAt(int childIndex, ASTObject child)
           
 void setOnThis(boolean _onThis)
           
 void setPcd(Pcd _pcd)
           
 java.lang.String toShortString()
           
 Stmts wrapCheckAndSet(org.aspectj.compiler.crosscuts.joinpoints.JpPlan plan, org.aspectj.compiler.crosscuts.joinpoints.JoinPoint jp, Stmts body)
           
 
Methods inherited from class org.aspectj.compiler.crosscuts.ast.PerClause
getAspectDec, getDeclaringType, getLexicalType, makeAspectOfExpr, makeAspectOfMethod, makeHasAspectMethod, setupAspect
 
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, getEnclosingCodeDec, getEnclosingDec, getEndColumn, getEndLine, getEndPosition, getFormalComment, 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, unparse, unparse, 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

pcd

protected Pcd pcd

onThis

protected boolean onThis
Constructor Detail

PerThisOrTarget

public PerThisOrTarget(SourceLocation location,
                       Pcd _pcd,
                       boolean _onThis)

PerThisOrTarget

public PerThisOrTarget(Pcd _pcd,
                       boolean _onThis)

PerThisOrTarget

protected PerThisOrTarget(SourceLocation source)
Method Detail

toShortString

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

makeInnerPlanner

public org.aspectj.compiler.crosscuts.joinpoints.JpPlanner makeInnerPlanner(PlanData planData)
Specified by:
makeInnerPlanner in class PerClause

makeInitializerPlanner

public org.aspectj.compiler.crosscuts.joinpoints.JpPlanner makeInitializerPlanner(PlanData planData)
Specified by:
makeInitializerPlanner in class PerClause

makeOnExpr

public Expr makeOnExpr(org.aspectj.compiler.crosscuts.joinpoints.JoinPoint point)

getHasAspectInterfaceType

public Type getHasAspectInterfaceType()

getHasAspectInterface

public InterfaceDec getHasAspectInterface()

makeHasAspectMethod

protected MethodDec makeHasAspectMethod()
Specified by:
makeHasAspectMethod in class PerClause

makeAspectOfMethod

protected MethodDec makeAspectOfMethod()
Specified by:
makeAspectOfMethod in class PerClause

wrapCheckAndSet

public Stmts wrapCheckAndSet(org.aspectj.compiler.crosscuts.joinpoints.JpPlan plan,
                             org.aspectj.compiler.crosscuts.joinpoints.JoinPoint jp,
                             Stmts body)

getPcd

public Pcd getPcd()

setPcd

public void setPcd(Pcd _pcd)

getOnThis

public boolean getOnThis()

setOnThis

public void setOnThis(boolean _onThis)

copyWalk

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

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 PerClause