Package org.aspectj.runtime.internal
Class AroundClosure
java.lang.Object
org.aspectj.runtime.internal.AroundClosure
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetFlags()Object[]Object[]getState()This method is called to implicitly associate the closure with the joinpoint as required for @AJ aspect proceed()linkClosureAndJoinPoint(int flags)This method is called to implicitly associate the closure with the joinpoint as required for @AJ aspect proceed()linkStackClosureAndJoinPoint(int flags)This method is called to implicitly associate the closure with the joinpoint as required for @AJ aspect proceed()abstract Objectvoidunlink()
-
Field Details
-
state
-
bitflags
protected int bitflags -
preInitializationState
-
-
Constructor Details
-
AroundClosure
public AroundClosure() -
AroundClosure
-
-
Method Details
-
getFlags
public int getFlags() -
getState
-
getPreInitializationState
-
run
- Parameters:
args- the same arguments as passed to the proceed (with primitives coerced to Object types)- Returns:
- the result of the invocation with those arguments
- Throws:
Throwable- if underlying invoked code throws an exception
-
linkClosureAndJoinPoint
This method is called to implicitly associate the closure with the joinpoint as required for @AJ aspect proceed()- Returns:
- the associated ProceedingJoinPoint
-
linkStackClosureAndJoinPoint
This method is called to implicitly associate the closure with the joinpoint as required for @AJ aspect proceed()- Parameters:
flags- indicating whether this/target found at joinpoint and bound- Returns:
- the associated ProceedingJoinPoint
-
linkClosureAndJoinPoint
This method is called to implicitly associate the closure with the joinpoint as required for @AJ aspect proceed()- Parameters:
flags- indicating whether this/target found at joinpoint and bound- Returns:
- the associated ProceedingJoinPoint
-
unlink
public void unlink()
-