|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.aspectbench.runtime.reflect.JoinPointImpl
public class JoinPointImpl
| Nested Class Summary | |
|---|---|
static class |
JoinPointImpl.StaticPartImpl
|
| Nested classes/interfaces inherited from interface org.aspectj.lang.JoinPoint |
|---|
JoinPoint.StaticPart |
| Field Summary | |
|---|---|
(package private) Object |
_this
|
(package private) Object[] |
args
|
(package private) JoinPoint.StaticPart |
staticPart
|
(package private) Object |
target
|
| Fields inherited from interface org.aspectj.lang.JoinPoint |
|---|
ADVICE_EXECUTION, CONSTRUCTOR_CALL, CONSTRUCTOR_EXECUTION, EXCEPTION_HANDLER, FIELD_GET, FIELD_SET, INITIALIZATION, METHOD_CALL, METHOD_EXECUTION, PREINTIALIZATION, STATICINITIALIZATION |
| Constructor Summary | |
|---|---|
JoinPointImpl(JoinPoint.StaticPart staticPart,
Object _this,
Object target,
Object[] args)
|
|
| Method Summary | |
|---|---|
Object[] |
getArgs()
Returns the arguments at this join point. |
String |
getKind()
Returns a String representing the kind of join point. |
Signature |
getSignature()
Returns the signature at the join point. |
SourceLocation |
getSourceLocation()
Returns the source location corresponding to the join point. |
JoinPoint.StaticPart |
getStaticPart()
Returns an object that encapsulates the static parts of this join point |
Object |
getTarget()
Returns the target object. |
Object |
getThis()
Returns the currently executing object. |
String |
toLongString()
Returns an extended string representation of the join point. |
String |
toShortString()
Returns an abbreviated string representation of the join point. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
Object _this
Object target
Object[] args
JoinPoint.StaticPart staticPart
| Constructor Detail |
|---|
public JoinPointImpl(JoinPoint.StaticPart staticPart,
Object _this,
Object target,
Object[] args)
| Method Detail |
|---|
public Object getThis()
JoinPoint Returns the currently executing object. This will always be
the same object as that matched by the this pointcut
designator. Unless you specifically need this reflective access,
you should use the this pointcut designator to
get at this object for better static typing and performance.
Returns null when there is no currently executing object available. This includes all join points that occur in a static context.
getThis in interface JoinPointpublic Object getTarget()
JoinPoint Returns the target object. This will always be
the same object as that matched by the target pointcut
designator. Unless you specifically need this reflective access,
you should use the target pointcut designator to
get at this object for better static typing and performance.
Returns null when there is no target object.
getTarget in interface JoinPointpublic Object[] getArgs()
JoinPointReturns the arguments at this join point.
getArgs in interface JoinPointpublic JoinPoint.StaticPart getStaticPart()
JoinPointReturns an object that encapsulates the static parts of this join point
getStaticPart in interface JoinPointpublic String getKind()
JoinPointgetStaticPart().getKind() returns
the same object.
getKind in interface JoinPointpublic Signature getSignature()
JoinPointgetStaticPart().getSignature() returns the same object
getSignature in interface JoinPointpublic SourceLocation getSourceLocation()
JoinPointReturns the source location corresponding to the join point.
If there is no source location available, returns null.
Returns the SourceLocation of the defining class for default constructors.
getStaticPart().getSourceLocation() returns the same object.
getSourceLocation in interface JoinPointpublic final String toString()
toString in interface JoinPointtoString in class Objectpublic final String toShortString()
JoinPoint
toShortString in interface JoinPointpublic final String toLongString()
JoinPoint
toLongString in interface JoinPoint
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||