org.aspectj.compiler.crosscuts.ast
Class AfterThrowingAdviceDec

java.lang.Object
  extended byorg.aspectj.compiler.base.CompilerObject
      extended byorg.aspectj.compiler.base.ast.ASTObject
          extended byorg.aspectj.compiler.base.ast.Stmt
              extended byorg.aspectj.compiler.base.ast.Dec
                  extended byorg.aspectj.compiler.base.ast.CodeDec
                      extended byorg.aspectj.compiler.crosscuts.ast.AdviceDec
                          extended byorg.aspectj.compiler.crosscuts.ast.AfterThrowingAdviceDec
All Implemented Interfaces:
AspectMember, org.aspectj.compiler.crosscuts.joinpoints.JpPlannerMaker, PossibleSoftThrowable

public class AfterThrowingAdviceDec
extends AdviceDec


Field Summary
protected  FormalDec extraFormal
           
 
Fields inherited from class org.aspectj.compiler.crosscuts.ast.AdviceDec
pcd, thisDynamicJoinPointFormal, thisStaticEnclosingJoinPointFormal, thisStaticJoinPointFormal
 
Fields inherited from class org.aspectj.compiler.base.ast.CodeDec
_throws, body, formals, modifiers
 
Fields inherited from class org.aspectj.compiler.base.ast.Dec
forcePublic, owner, semanticObject
 
Fields inherited from class org.aspectj.compiler.base.ast.ASTObject
dummySource, parent, sourceLocation
 
Constructor Summary
  AfterThrowingAdviceDec(Modifiers _modifiers, Formals _formals, FormalDec _extraFormal, TypeDs __throws, Pcd _pcd, CodeBody _body)
           
  AfterThrowingAdviceDec(Modifiers _modifiers, Formals _formals, FormalDec _extraFormal, TypeDs __throws, Pcd _pcd, Stmt[] _body)
           
protected AfterThrowingAdviceDec(SourceLocation source)
           
  AfterThrowingAdviceDec(SourceLocation location, Modifiers _modifiers, Formals _formals, FormalDec _extraFormal, TypeDs __throws, Pcd _pcd, CodeBody _body)
           
 
Method Summary
 ASTObject copyWalk(CopyWalker walker)
           
protected  java.lang.String getAdviceKind()
           
 ASTObject getChildAt(int childIndex)
           
 int getChildCount()
           
 java.lang.String getChildNameAt(int childIndex)
           
 java.lang.String getDefaultDisplayName()
           
 FormalDec getExtraFormal()
          returns the after returning or after throwing formal.
protected  boolean isAfterAdvice()
           
 void setChildAt(int childIndex, ASTObject child)
           
 void setExtraFormal(FormalDec _extraFormal)
           
protected  void setupFlowWalker(org.aspectj.compiler.base.FlowCheckerPass w)
          set up the flow walker, by adding implicit variables like thisJoinPoint, etc
 java.lang.String unparse()
           
 Stmts wrapAfterThrowingCall(org.aspectj.compiler.crosscuts.joinpoints.AdvicePlan plan, Stmts baseStmts)
           
protected  Stmts wrapStmts(Stmts stmts, org.aspectj.compiler.crosscuts.joinpoints.AdvicePlan plan)
           
 
Methods inherited from class org.aspectj.compiler.crosscuts.ast.AdviceDec
addJoinPointFormals, checkSpec, dominates, finishMethodDec, getAspectDec, getExtraArgType, getId, getKind, getMethodDec, getPcd, getResultTypeD, getReturnType, makeBodyScope, makeCall, makeConcreteMethod, makeFormals, makeJoinPointFormal, makeJoinPointStaticPartFormal, makeMethodBody, makePlanner, needsCallSiteContext, needsDynamicJoinPointFormal, needsStaticEnclosingJoinPointFormal, needsStaticJoinPointFormal, postFixAST, preScope, reverseSortOrder, setPcd, toShortString, unparse, wrapJoinPoint
 
Methods inherited from class org.aspectj.compiler.base.ast.CodeDec
addThrows, addThrowsType, appearsStaticToCaller, blockToBody, canThrow, cgCodeMember, cgMember, cleanup, computeMinimalThrows, conflictsWith, getBody, getCallExprs, getDescriptor, getEffectivelyFinalFormals, getFormals, getFrameSize, getModifiers, getPossibleCheckedExceptions, getResultType, getStackDelta, getThrows, hasThis, isAlmostApplicable, isApplicable, isMoreSpecificThan, isSoftThrowable, postCleanup, postScope, setBody, setBody, setFormals, setFrameSize, setModifiers, setSoftThrowable, setThrows, walkAnalysis, walkCleanup, walkFlow, walkFrameLoc, walkInnerInfo
 
Methods inherited from class org.aspectj.compiler.base.ast.Dec
addIntroducedFromType, checkOverride, dominates, forcePublic, getBytecodeId, getCorrespondingSemanticObject, getDeclaringType, getLexicalType, getName, getOutermostLexicalType, getSignatureString, inStaticContext, isAbstract, isAccessible, isAccessible, isDeprecated, isFinal, isInherited, isIntroduced, isLanguageVisible, isMoreAccessibleThan, isPrivate, isProtected, isPublic, isStatic, isSynthetic, lookupDeclaringType, lookupLexicalType, makeBlockScope, makeCorrespondingSemanticObject, postCopy, preCopy, preMove, requireStmt, samePackage, setAllEnclosingTypes, setBytecodeId, setDeclaringType, setDeprecated, setExplicitlyNonSynthetic, setFromLexicalScope, setId, setLanguageVisible, setLexicalType, walkForwardReference, writeModifiers, writeNames
 
Methods inherited from class org.aspectj.compiler.base.ast.Stmt
cgStmt, cgTop, completesNormally, isBreakable, isContinuable, isEmpty, mustBeLive, registerLocation, requireBlockStmt, setCompletesNormally
 
Methods inherited from class org.aspectj.compiler.base.ast.ASTObject
addComment, buildAccessMethod, checkNoSharing, clearComment, clearParent, contains, containsTypes, copy, display, fixAccessPost, fixAST, fromSource, getAST, getBeginColumn, getBeginLine, getBytecodeType, getBytecodeTypeDec, getComment, getCompilationUnit, getEnclosingCodeDec, getEnclosingDec, getEndColumn, getEndLine, getEndPosition, getFormalComment, getOutermostBytecodeType, getParent, getSourceDirectoryName, getSourceFile, getSourceFileName, getSourceLocation, getStartPosition, hasLegalProtectedAccess, hasSource, hasSourceLocation, implementMixin, indexOf, isLeaf, makeChild, makeChild, postAssignmentCheck, postImplementMixin, postInnerAccess, postInnerInfo, postLift, postMove, postThreading, preAssignmentCheck, preIntroduction, preLift, preThreading, remove, remove, removeChildAt, replaceWith, setFormalComment, setParent, setParents, setSource, setSourceLocation, setSyntheticSource, showError, showMessage, showTypeError, showWarning, toString, walk, walkAssignmentCheck, 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
 
Methods inherited from interface org.aspectj.compiler.crosscuts.ast.AspectMember
cgTop, cleanup, setParent
 

Field Detail

extraFormal

protected FormalDec extraFormal
Constructor Detail

AfterThrowingAdviceDec

public AfterThrowingAdviceDec(SourceLocation location,
                              Modifiers _modifiers,
                              Formals _formals,
                              FormalDec _extraFormal,
                              TypeDs __throws,
                              Pcd _pcd,
                              CodeBody _body)

AfterThrowingAdviceDec

public AfterThrowingAdviceDec(Modifiers _modifiers,
                              Formals _formals,
                              FormalDec _extraFormal,
                              TypeDs __throws,
                              Pcd _pcd,
                              CodeBody _body)

AfterThrowingAdviceDec

public AfterThrowingAdviceDec(Modifiers _modifiers,
                              Formals _formals,
                              FormalDec _extraFormal,
                              TypeDs __throws,
                              Pcd _pcd,
                              Stmt[] _body)

AfterThrowingAdviceDec

protected AfterThrowingAdviceDec(SourceLocation source)
Method Detail

getAdviceKind

protected java.lang.String getAdviceKind()
Specified by:
getAdviceKind in class AdviceDec

isAfterAdvice

protected boolean isAfterAdvice()
Overrides:
isAfterAdvice in class AdviceDec

wrapStmts

protected Stmts wrapStmts(Stmts stmts,
                          org.aspectj.compiler.crosscuts.joinpoints.AdvicePlan plan)
Overrides:
wrapStmts in class AdviceDec

wrapAfterThrowingCall

public Stmts wrapAfterThrowingCall(org.aspectj.compiler.crosscuts.joinpoints.AdvicePlan plan,
                                   Stmts baseStmts)

setupFlowWalker

protected void setupFlowWalker(org.aspectj.compiler.base.FlowCheckerPass w)
Description copied from class: CodeDec
set up the flow walker, by adding implicit variables like thisJoinPoint, etc

Overrides:
setupFlowWalker in class AdviceDec

getExtraFormal

public FormalDec getExtraFormal()
Description copied from class: AdviceDec
returns the after returning or after throwing formal. Overridden in AfterReturningAdviceDec and AfterThrowingAdviceDec and AroundAdviceDec.

Overrides:
getExtraFormal in class AdviceDec

setExtraFormal

public void setExtraFormal(FormalDec _extraFormal)

copyWalk

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

getChildAt

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

getChildNameAt

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

setChildAt

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

getChildCount

public int getChildCount()
Overrides:
getChildCount in class AdviceDec

getDefaultDisplayName

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

unparse

public java.lang.String unparse()
Specified by:
unparse in interface AspectMember
Overrides:
unparse in class ASTObject