ataspectj.reflect
Class ExprJoinPointStaticPart

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

public class ExprJoinPointStaticPart
extends java.lang.Object
implements org.aspectj.lang.JoinPoint.StaticPart

This helper object contains only the static information about a expr join point.


Field Summary
protected  atjava.lang.annotation.AnnotatedExpression _annExpr
          The Annotated Expression.
protected  java.lang.String _annName
          The Annotation Name.
protected  java.lang.String _firstArg
          The first parameter of the methoc callWrappperExpressionAnnotation of @Java
protected  org.aspectj.lang.JoinPoint _jp
          The retrieved AspectJ join point.
protected  java.lang.String _longString
          The pointcut long string.
protected  org.aspectj.lang.JoinPoint.StaticPart _sp
          The retrieved AspectJ JoinPoint.StaticPart
protected  int _startC
          The Start Source Column.
protected  int _startL
          The Start Source Line.
 
Constructor Summary
ExprJoinPointStaticPart()
          The Standard constructor of the class.
ExprJoinPointStaticPart(org.aspectj.lang.JoinPoint jp)
          Constructor of the class, it retrieves the informations from the join point.
 
Method Summary
protected  java.lang.String[] explodeLongString()
          Explodes the atjava random string
protected  atjava.lang.annotation.AnnotatedExpression getAnnotatedExpression()
          Retrieves the annotated expression.
protected  java.lang.String getAnnotationName()
          Retrieves the annotation name from the atjava string.
protected  java.lang.String getClassName()
          Retrieves the class name from the atjava string.
 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.
protected  int getStartColumn()
          Retrieves the start source column from the atjava string.
protected  int getStartLine()
          Retrieves the start source line from the atjava string.
 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_sp

protected org.aspectj.lang.JoinPoint.StaticPart _sp
The retrieved AspectJ JoinPoint.StaticPart


_jp

protected org.aspectj.lang.JoinPoint _jp
The retrieved AspectJ join point.


_annExpr

protected atjava.lang.annotation.AnnotatedExpression _annExpr
The Annotated Expression.


_longString

protected java.lang.String _longString
The pointcut long string.


_startL

protected int _startL
The Start Source Line.


_startC

protected int _startC
The Start Source Column.


_annName

protected java.lang.String _annName
The Annotation Name.


_firstArg

protected java.lang.String _firstArg
The first parameter of the methoc callWrappperExpressionAnnotation of @Java

Constructor Detail

ExprJoinPointStaticPart

public ExprJoinPointStaticPart()
The Standard constructor of the class.


ExprJoinPointStaticPart

public ExprJoinPointStaticPart(org.aspectj.lang.JoinPoint jp)
Constructor of the class, it retrieves the informations from the join point.

Parameters:
jp - the AspectJ JoinPoint.
Method Detail

getKind

public java.lang.String getKind()
Returns a String representing the kind of join point.

Specified by:
getKind in interface org.aspectj.lang.JoinPoint.StaticPart
Returns:
a String representing the kind of the join point

getSignature

public org.aspectj.lang.Signature getSignature()
Returns the signature at the join point.

Specified by:
getSignature in interface org.aspectj.lang.JoinPoint.StaticPart
Returns:
the Signature reppresenting the expression.

getSourceLocation

public org.aspectj.lang.reflect.SourceLocation getSourceLocation()
Returns the source location corresponding to the annotated expression.

Specified by:
getSourceLocation in interface org.aspectj.lang.JoinPoint.StaticPart
Returns:
the SourceLocation corresponding to the annotated expression.

toLongString

public java.lang.String toLongString()
Returns an extended string representation of the join point

Specified by:
toLongString in interface org.aspectj.lang.JoinPoint.StaticPart
Returns:
a String representing the join point.

toShortString

public java.lang.String toShortString()
Returns an extended string representation of the join point

Specified by:
toShortString in interface org.aspectj.lang.JoinPoint.StaticPart
Returns:
a String representing the join point.

toString

public java.lang.String toString()
Returns an extended string representation of the join point

Specified by:
toString in interface org.aspectj.lang.JoinPoint.StaticPart
Overrides:
toString in class java.lang.Object
Returns:
a String representing the join point.

explodeLongString

protected java.lang.String[] explodeLongString()
Explodes the atjava random string

Returns:
a String[] containing the different part of the atjava random string.

getAnnotationName

protected java.lang.String getAnnotationName()
Retrieves the annotation name from the atjava string.

Returns:
the annotation name.

getClassName

protected java.lang.String getClassName()
Retrieves the class name from the atjava string.

Returns:
the class name.

getStartLine

protected int getStartLine()
Retrieves the start source line from the atjava string.

Returns:
the start source line.

getStartColumn

protected int getStartColumn()
Retrieves the start source column from the atjava string.

Returns:
the start source column.

getAnnotatedExpression

protected atjava.lang.annotation.AnnotatedExpression getAnnotatedExpression()
Retrieves the annotated expression.

Returns:
the annotated expression.