| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Object | |
| private AroundClosure | |
| private JoinPointImpl. | |
| pack-priv Object[] | |
| pack-priv JoinPoint. | |
| pack-priv Object |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object[] | |
| public String | |
| public Signature | getSignature()
Implements org. getStaticPart().getSignature() returns the same object
|
| public SourceLocation | getSourceLocation()
Implements org. If there is no source location available, returns null. |
| public JoinPoint. | |
| public Object | |
| public Object | |
| public Object | proceed()
Implements org. |
| public Object | proceed(Object[]
the arguments to proceed with adviceBindings)Implements org. |
| public void | set$AroundClosure(AroundClosure
the around closure to associate with this joinpoint arc)Implements org. |
| public void | stack$AroundClosure(AroundClosure
the around closure to associate with this joinpoint arc)Overrides default org. |
| public final String | |
| public final String | |
| public final String | toString()
Overrides java. Implements org. |
| _this | back to summary |
|---|---|
| pack-priv Object _this | |
| arc | back to summary |
|---|---|
| private AroundClosure arc | |
| arcs | back to summary |
|---|---|
| private JoinPointImpl. | |
| args | back to summary |
|---|---|
| pack-priv Object[] args | |
| staticPart | back to summary |
|---|---|
| pack-priv JoinPoint. | |
| target | back to summary |
|---|---|
| pack-priv Object target | |
| JoinPointImpl | back to summary |
|---|---|
| public JoinPointImpl(JoinPoint. | |
| getArgs | back to summary |
|---|---|
| public Object[] getArgs() Implements org.
| |
| getKind | back to summary |
|---|---|
| public String getKind() Implements org. Doc from org. This string is guaranteed to be interned.
| |
| getSignature | back to summary |
|---|---|
| public Signature getSignature() Implements org. Doc from org.
| |
| getSourceLocation | back to summary |
|---|---|
| public SourceLocation getSourceLocation() Implements org. Doc from org. If there is no source location available, returns null. Returns the SourceLocation of the defining class for default constructors.
| |
| getStaticPart | back to summary |
|---|---|
| public JoinPoint. Implements org.
| |
| getTarget | back to summary |
|---|---|
| public Object getTarget() Implements org. Doc from org. Returns the target object. This will always be
the same object as that matched by the
| |
| getThis | back to summary |
|---|---|
| public Object getThis() Implements org. Doc from org. Returns the currently executing object. This will always be
the same object as that matched by the Returns null when there is no currently executing object available. This includes all join points that occur in a static context.
| |
| proceed | back to summary |
|---|---|
| public Object proceed() throws Throwable Implements org. Doc from org. Proceed with the next advice or target method invocation | |
| proceed | back to summary |
|---|---|
| public Object proceed(Object[] adviceBindings) throws Throwable Implements org. Doc from org. Proceed with the next advice or target method invocation. Unlike code style, proceed(..) in annotation style places different requirements on the parameters passed to it. The proceed(..) call takes, in this order:
| |
| set$AroundClosure | back to summary |
|---|---|
| public void set$AroundClosure(AroundClosure arc) Implements org. Doc from org. The joinpoint needs to know about its closure so that proceed can delegate to closure.run(). This internal method should not be called directly, and won't be visible to the end-user when packed in a jar (synthetic method).
| |
| stack$AroundClosure | back to summary |
|---|---|
| public void stack$AroundClosure(AroundClosure arc) Overrides default org. Doc from org. The joinpoint needs to know about its closure so that proceed can delegate to closure.run(). This internal method should not be called directly, and won't be visible to the end-user when packed in a jar (synthetic method). This should maintain a stack of closures as multiple around advice with proceed are targeting a joinpoint and the stack will need to be unwound when exiting nested advice. Passing a non null arc indicates a push, passing null indicates a pop.
| |
| toLongString | back to summary |
|---|---|
| public final String toLongString() Implements org.
| |
| toShortString | back to summary |
|---|---|
| public final String toShortString() Implements org.
| |
| toString | back to summary |
|---|---|
| public final String toString() Overrides java. Implements org. Doc from java. Returns a string representation of the object.
| |
| Access | Constructor and Description |
|---|---|
| public |
| EnclosingStaticPartImpl | back to summary |
|---|---|
| public EnclosingStaticPartImpl(int count, String kind, Signature signature, SourceLocation sourceLocation) | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected Stack | childValue(Stack<AroundClosure>
the parent thread's value parentValue)Overrides java. |
| protected Stack | initialValue()
Overrides java. |
| InheritableThreadLocalAroundClosureStack | back to summary |
|---|---|
| pack-priv InheritableThreadLocalAroundClosureStack() | |
| childValue | back to summary |
|---|---|
| protected Stack Overrides java. Doc from java. Computes the child's initial value for this inheritable thread-local variable as a function of the parent's value at the time the child thread is created. This method is called from within the parent thread before the child is started. This method merely returns its input argument, and should be overridden if a different behavior is desired.
| |
| initialValue | back to summary |
|---|---|
| protected Stack Overrides java. Doc from java. Returns the current thread's "initial value" for this
thread-local variable. This method will be invoked the first
time a thread accesses the variable with the
| |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| pack-priv String | |
| pack-priv Signature | |
| pack-priv SourceLocation |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | getId()
Implements org. |
| public String | |
| public Signature | |
| public SourceLocation | getSourceLocation()
Implements org. |
| public final String | |
| public final String | |
| pack-priv String | |
| public final String | toString()
Overrides java. Implements org. |
| id | back to summary |
|---|---|
| private int id | |
| kind | back to summary |
|---|---|
| pack-priv String kind | |
| signature | back to summary |
|---|---|
| pack-priv Signature signature | |
| sourceLocation | back to summary |
|---|---|
| pack-priv SourceLocation sourceLocation | |
| StaticPartImpl | back to summary |
|---|---|
| public StaticPartImpl(int id, String kind, Signature signature, SourceLocation sourceLocation) | |
| getId | back to summary |
|---|---|
| public int getId() Implements org. Doc from org. Return the id for this JoinPoint.StaticPart. All JoinPoint.StaticPart
instances are assigned an id number upon creation. For each advised type
the id numbers start at 0.
| |
| getKind | back to summary |
|---|---|
| public String getKind() Implements org.
| |
| getSignature | back to summary |
|---|---|
| public Signature getSignature() Implements org.
| |
| getSourceLocation | back to summary |
|---|---|
| public SourceLocation getSourceLocation() Implements org. Doc from org. Returns the source location corresponding to the join point. If there is no source location available, returns null.
| |
| toLongString | back to summary |
|---|---|
| public final String toLongString() Implements org.
| |
| toShortString | back to summary |
|---|---|
| public final String toShortString() Implements org.
| |
| toString | back to summary |
|---|---|
| pack-priv String toString(StringMaker sm) | |
| toString | back to summary |
|---|---|
| public final String toString() Overrides java. Implements org. Doc from java. Returns a string representation of the object.
| |