|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.aspectbench.runtime.reflect.JoinPointImpl.StaticPartImpl
public static class JoinPointImpl.StaticPartImpl
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.aspectj.lang.JoinPoint |
---|
JoinPoint.StaticPart |
Field Summary |
---|
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.StaticPartImpl(java.lang.String kind,
Signature signature,
SourceLocation sourceLocation)
|
Method Summary | |
---|---|
java.lang.Object[] |
getArgs()
Returns the arguments at this join point. |
java.lang.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 |
java.lang.Object |
getTarget()
Returns the target object. |
java.lang.Object |
getThis()
Returns the currently executing object. |
java.lang.String |
toLongString()
Returns an extended string representation of the join point. |
java.lang.String |
toShortString()
Returns an abbreviated string representation of the join point. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JoinPointImpl.StaticPartImpl(java.lang.String kind, Signature signature, SourceLocation sourceLocation)
Method Detail |
---|
public java.lang.String getKind()
JoinPoint
getStaticPart().getKind()
returns
the same object.
getKind
in interface JoinPoint
getKind
in interface JoinPoint.StaticPart
public Signature getSignature()
JoinPoint
getStaticPart().getSignature()
returns the same object
getSignature
in interface JoinPoint
getSignature
in interface JoinPoint.StaticPart
public SourceLocation getSourceLocation()
JoinPoint
Returns 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 JoinPoint
getSourceLocation
in interface JoinPoint.StaticPart
public final java.lang.String toString()
toString
in interface JoinPoint
toString
in interface JoinPoint.StaticPart
toString
in class java.lang.Object
public final java.lang.String toShortString()
JoinPoint
toShortString
in interface JoinPoint
toShortString
in interface JoinPoint.StaticPart
public final java.lang.String toLongString()
JoinPoint
toLongString
in interface JoinPoint
toLongString
in interface JoinPoint.StaticPart
public java.lang.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 JoinPoint
public java.lang.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 JoinPoint
public java.lang.Object[] getArgs()
JoinPoint
Returns the arguments at this join point.
getArgs
in interface JoinPoint
public JoinPoint.StaticPart getStaticPart()
JoinPoint
Returns an object that encapsulates the static parts of this join point
getStaticPart
in interface JoinPoint
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |