|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
AdviceSpec
interface.
before(int x) // the "advice spec"
:
call(* fac(*)) && args(x) // pointcut
{ System.out.println(x);} // body
afterreturning
or afterthrowing
. afterreturning
or afterthrowing
.args
condition pointcut.args
pointcut.
AspectBody
represents the body of an aspect
declaration.AspectBody
represents the body of an aspect
declarationAspectDecl
represents a top-level, member, or local class
declaration.AspectDecl
is the definition of an aspect, abstract aspect,
or privileged.ContainsAspectInfo
and
tells them to put their information into the GlobalAspectInfo
.cast
shadow pointcut.cflow
condition pointcut.cflowbelow
condition pointcut.ct
implements all abstract methods required;
that is, if it is a concrete class, then it must implement all
interfaces and abstract methods that it or it's superclasses declare, and if
it is an abstract class then any methods that it overrides are overridden
correctly.
initialization
shadow pointcut.Jimplify
pass.soot.SootMethod
in each weaveable class to a MethodAdviceList
for that method.
declare precedence
declarations in the program.call
shadow pointcut with a constructor pattern.GlobalAspectInfo
.DeclareDecl
represents a declare declaration.declare warning
or declare error
declaration.declare parents
declarationdeclare parents
declaration.
declare parents
declarations.declare parents
..declare parents
extending a class.
declare parents
..declare parents
implementing a list of interfaces.
declare precedence
.
declare soft
declaration.execution
shadow pointcut with a method pattern.AdviceApplication
structures are added to the list
for one shadow, then the next etc.
declare parents
declarations.
declare precedence
declarations.
get
shadow pointcut.if
condition.
target
pointcut.
this
by this this
pointcut.
target
pointcut.
this
pointcut.
if
condition.
handler
shadow pointcut. thisEnclosingJoinPointStaticPart
occurs in the advice body.
thisJoinPoint
occurs in the advice body.
thisJoinPointStaticPart
occurs in the advice body.
if
condition pointcut.if
pointcut
initialization
shadow pointcut.this
or super
call
in an intertype constructor declaration
this
or super
call from an
intertype method or constructor
IsSingleton
represents the IsSingleton-clause of an aspect
declaration.AdviceApplication
structures applying to a methodcall
shadow pointcut with a method pattern.declare parents
declarations and integrates the
declared parents into the Polyglot class hierarchy.PerCflow
represents the percflow of an aspect
declaration.percflow
per clause.PerCflowBelow
represents the percflowbelow of an aspect
declaration.percflowbelow
per clause.PerClause
represents the per-clause of an aspect
declaration.PerTarget
represents the per-clause of an aspect
declaration.pertarget
per clause.PerThis
represents the perthis of an aspect
declaration.perthis
per clause.PointcutDecl
represents a pointcut declaration.args
pointcut.
preinitialization
shadow pointcut.proceed
dummy method
super
or this
)
from a class. afterreturning
and
afterthrowing
advice
set
shadow pointcut.singleton
per clause.target
condition pointcut with a universal pattern argument.target
condition pointcut with a type argument.target
condition pointcut with a variable argument.this
condition pointcut with a
universal pattern argument.this
condition pointcut with a type argument.this
condition pointcut with a variable argument.throw
shadow pointcut.AspectInfoHarvester
to tell the node to
put all relevant information into the GlobalAspectInfo
.
within
condition pointcut.withinadvice
lexical pointcutwithincode
lexical pointcut with a constructor patternwithincode
lexical pointcut with a method pattern.withinstaticinitializer
lexical pointcut
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |