ataspectj.reflect
Class BlockJoinPointStaticPart

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

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

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


Field Summary
protected  atjava.lang.annotation.AnnotatedBlock _annBlock
          The Annotated Bolck.
protected  java.lang.String _annName
          The Annotation Name.
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.
 java.lang.String KIND
          The kind of the join point
 
Constructor Summary
BlockJoinPointStaticPart()
          The Standard constructor of the class.
BlockJoinPointStaticPart(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.AnnotatedBlock getAnnotatedBlock()
          Retrieves the annotated block.
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 block.
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

KIND

public final java.lang.String KIND
The kind of the join point

See Also:
Constant Field Values

_jp

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


_sp

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


_startL

protected int _startL
The Start Source Line.


_startC

protected int _startC
The Start Source Column.


_annBlock

protected atjava.lang.annotation.AnnotatedBlock _annBlock
The Annotated Bolck.


_annName

protected java.lang.String _annName
The Annotation Name.


_longString

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

Constructor Detail

BlockJoinPointStaticPart

public BlockJoinPointStaticPart()
The Standard constructor of the class.


BlockJoinPointStaticPart

public BlockJoinPointStaticPart(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 block.

getSourceLocation

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

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

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.

getAnnotatedBlock

protected atjava.lang.annotation.AnnotatedBlock getAnnotatedBlock()
Retrieves the annotated block.

Returns:
the annotated block