ataspectj.reflect
Class ExprJoinPoint

java.lang.Object
  extended by ataspectj.reflect.ExprJoinPointStaticPart
      extended by ataspectj.reflect.ExprJoinPoint
All Implemented Interfaces:
org.aspectj.lang.JoinPoint, org.aspectj.lang.JoinPoint.StaticPart

public class ExprJoinPoint
extends ExprJoinPointStaticPart
implements org.aspectj.lang.JoinPoint

Provide a reflective access to expr join points.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.aspectj.lang.JoinPoint
org.aspectj.lang.JoinPoint.EnclosingStaticPart, org.aspectj.lang.JoinPoint.StaticPart
 
Field Summary
 
Fields inherited from class ataspectj.reflect.ExprJoinPointStaticPart
_annExpr, _annName, _firstArg, _jp, _longString, _sp, _startC, _startL
 
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, PREINITIALIZATION, STATICINITIALIZATION, SYNCHRONIZATION_LOCK, SYNCHRONIZATION_UNLOCK
 
Constructor Summary
ExprJoinPoint(org.aspectj.lang.JoinPoint jp)
          The constructor of the class
 
Method Summary
 java.lang.Object[] getArgs()
          Retrieve the member value of the expression annotation.
 java.lang.String getKind()
          Returns a String representing the kind of join point.
 org.aspectj.lang.Signature getSignature()
          Returns the signature at the join point.
 org.aspectj.lang.reflect.SourceLocation getSourceLocation()
          Returns the source location corresponding to the annotated expression.
 org.aspectj.lang.JoinPoint.StaticPart getStaticPart()
          Retrieves the static part of this expr join point.
 java.lang.Object getTarget()
          Retrieves the annotated expression.
 java.lang.Object getThis()
          Retrieves the annotated expression.
 java.lang.String toLongString()
          Returns an extended string representation of the join point
 java.lang.String toShortString()
          Returns an extended string representation of the join point
 java.lang.String toString()
          Returns an extended string representation of the join point
 
Methods inherited from class ataspectj.reflect.ExprJoinPointStaticPart
explodeLongString, getAnnotatedExpression, getAnnotationName, getClassName, getStartColumn, getStartLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExprJoinPoint

public ExprJoinPoint(org.aspectj.lang.JoinPoint jp)
The constructor of the class

Parameters:
jp - the current join point.
Method Detail

getArgs

public java.lang.Object[] getArgs()
Retrieve the member value of the expression annotation. return Object[] the array of member value of the expression annotation.

Specified by:
getArgs in interface org.aspectj.lang.JoinPoint

getKind

public java.lang.String getKind()
Description copied from class: ExprJoinPointStaticPart
Returns a String representing the kind of join point.

Specified by:
getKind in interface org.aspectj.lang.JoinPoint
Specified by:
getKind in interface org.aspectj.lang.JoinPoint.StaticPart
Overrides:
getKind in class ExprJoinPointStaticPart
Returns:
a String representing the kind of the join point
See Also:
ExprJoinPointStaticPart.getKind()

getSignature

public org.aspectj.lang.Signature getSignature()
Description copied from class: ExprJoinPointStaticPart
Returns the signature at the join point.

Specified by:
getSignature in interface org.aspectj.lang.JoinPoint
Specified by:
getSignature in interface org.aspectj.lang.JoinPoint.StaticPart
Overrides:
getSignature in class ExprJoinPointStaticPart
Returns:
the Signature reppresenting the expression.
See Also:
ExprJoinPointStaticPart.getSignature()

getSourceLocation

public org.aspectj.lang.reflect.SourceLocation getSourceLocation()
Description copied from class: ExprJoinPointStaticPart
Returns the source location corresponding to the annotated expression.

Specified by:
getSourceLocation in interface org.aspectj.lang.JoinPoint
Specified by:
getSourceLocation in interface org.aspectj.lang.JoinPoint.StaticPart
Overrides:
getSourceLocation in class ExprJoinPointStaticPart
Returns:
the SourceLocation corresponding to the annotated expression.
See Also:
ExprJoinPointStaticPart.getSourceLocation()

getStaticPart

public org.aspectj.lang.JoinPoint.StaticPart getStaticPart()
Retrieves the static part of this expr join point.

Specified by:
getStaticPart in interface org.aspectj.lang.JoinPoint
Returns:
JoinPoint.StaticPart the static part of this expr join point.

getTarget

public java.lang.Object getTarget()
Retrieves the annotated expression.

Specified by:
getTarget in interface org.aspectj.lang.JoinPoint
Returns:
Object the annotated expression.

getThis

public java.lang.Object getThis()
Retrieves the annotated expression.

Specified by:
getThis in interface org.aspectj.lang.JoinPoint
Returns:
Object the annotated expression.

toLongString

public java.lang.String toLongString()
Description copied from class: ExprJoinPointStaticPart
Returns an extended string representation of the join point

Specified by:
toLongString in interface org.aspectj.lang.JoinPoint
Specified by:
toLongString in interface org.aspectj.lang.JoinPoint.StaticPart
Overrides:
toLongString in class ExprJoinPointStaticPart
Returns:
a String representing the join point.
See Also:
ExprJoinPointStaticPart.toLongString()

toShortString

public java.lang.String toShortString()
Description copied from class: ExprJoinPointStaticPart
Returns an extended string representation of the join point

Specified by:
toShortString in interface org.aspectj.lang.JoinPoint
Specified by:
toShortString in interface org.aspectj.lang.JoinPoint.StaticPart
Overrides:
toShortString in class ExprJoinPointStaticPart
Returns:
a String representing the join point.
See Also:
ExprJoinPointStaticPart.toShortString()

toString

public java.lang.String toString()
Description copied from class: ExprJoinPointStaticPart
Returns an extended string representation of the join point

Specified by:
toString in interface org.aspectj.lang.JoinPoint
Specified by:
toString in interface org.aspectj.lang.JoinPoint.StaticPart
Overrides:
toString in class ExprJoinPointStaticPart
Returns:
a String representing the join point.
See Also:
ExprJoinPointStaticPart.toString()