org.aspectj.compiler.crosscuts.ast
Class BeforeAdviceDec

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.BeforeAdviceDec
All Implemented Interfaces:
AspectMember, org.aspectj.compiler.crosscuts.joinpoints.JpPlannerMaker, PossibleSoftThrowable

public class BeforeAdviceDec
extends AdviceDec


Field Summary
 
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
  BeforeAdviceDec(Modifiers _modifiers, Formals _formals, TypeDs __throws, Pcd _pcd, CodeBody _body)
           
  BeforeAdviceDec(Modifiers _modifiers, Formals _formals, TypeDs __throws, Pcd _pcd, Stmt[] _body)
           
protected BeforeAdviceDec(SourceLocation source)
           
  BeforeAdviceDec(SourceLocation location, Modifiers _modifiers, Formals _formals, TypeDs __throws, Pcd _pcd, CodeBody _body)
           
 
Method Summary
 ASTObject copyWalk(CopyWalker walker)
           
protected  java.lang.String getAdviceKind()
           
 java.lang.String getDefaultDisplayName()
           
 java.lang.String unparse()
           
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, getChildAt, getChildCount, getChildNameAt, getExtraArgType, getExtraFormal, getId, getKind, getMethodDec, getPcd, getResultTypeD, getReturnType, isAfterAdvice, makeBodyScope, makeCall, makeConcreteMethod, makeFormals, makeJoinPointFormal, makeJoinPointStaticPartFormal, makeMethodBody, makePlanner, needsCallSiteContext, needsDynamicJoinPointFormal, needsStaticEnclosingJoinPointFormal, needsStaticJoinPointFormal, postFixAST, preScope, reverseSortOrder, setChildAt, setPcd, setupFlowWalker, 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
 

Constructor Detail

BeforeAdviceDec

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

BeforeAdviceDec

public BeforeAdviceDec(Modifiers _modifiers,
                       Formals _formals,
                       TypeDs __throws,
                       Pcd _pcd,
                       CodeBody _body)

BeforeAdviceDec

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

BeforeAdviceDec

protected BeforeAdviceDec(SourceLocation source)
Method Detail

unparse

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

getAdviceKind

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

wrapStmts

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

copyWalk

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

getDefaultDisplayName

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