ataspectj.reflect
Class ExprSignature

java.lang.Object
  extended by ataspectj.reflect.ExprSignature
All Implemented Interfaces:
org.aspectj.lang.Signature

public class ExprSignature
extends java.lang.Object
implements org.aspectj.lang.Signature

Represents the signature at a join point.


Constructor Summary
ExprSignature(org.aspectj.lang.Signature sign, java.lang.Class type, java.lang.String string, java.lang.String annName, atjava.lang.annotation.AnnotatedExpression annExpr)
          The Constructor of the class.
 
Method Summary
 java.lang.Class getDeclaringType()
          Returns a java.lang.Class object representing the class of the annotation.
 java.lang.String getDeclaringTypeName()
          Returns a String representing the annotation.
 int getModifiers()
          Returns the modifiers of the wrapper method represented as an int.
 java.lang.String getName()
          Returns annotation name.
 java.lang.String toLongString()
          The long string of the annotation.
 java.lang.String toShortString()
          The annoation without the list of members.
 java.lang.String toString()
          The long string of the annotation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExprSignature

public ExprSignature(org.aspectj.lang.Signature sign,
                     java.lang.Class type,
                     java.lang.String string,
                     java.lang.String annName,
                     atjava.lang.annotation.AnnotatedExpression annExpr)
The Constructor of the class.

Parameters:
sign - The AspectJ signature.
type - The owner class of the annotated expression.
string - A string reppresenting the expression
annName - The Annotation Name
annExpr - The Annotated expression
Method Detail

getDeclaringType

public java.lang.Class getDeclaringType()
Returns a java.lang.Class object representing the class of the annotation.

Specified by:
getDeclaringType in interface org.aspectj.lang.Signature
Returns:
the annotation class.

getDeclaringTypeName

public java.lang.String getDeclaringTypeName()
Returns a String representing the annotation.

Specified by:
getDeclaringTypeName in interface org.aspectj.lang.Signature
Returns:
the name of the annotation.

getModifiers

public int getModifiers()
Returns the modifiers of the wrapper method represented as an int.

Specified by:
getModifiers in interface org.aspectj.lang.Signature
Returns:
the modifiers

getName

public java.lang.String getName()
Returns annotation name.

Specified by:
getName in interface org.aspectj.lang.Signature
Returns:
the annotation name.

toLongString

public java.lang.String toLongString()
The long string of the annotation.

Specified by:
toLongString in interface org.aspectj.lang.Signature
Returns:
the long string of the annotation

toShortString

public java.lang.String toShortString()
The annoation without the list of members.

Specified by:
toShortString in interface org.aspectj.lang.Signature
Returns:
the annotation without the list of members

toString

public java.lang.String toString()
The long string of the annotation.

Specified by:
toString in interface org.aspectj.lang.Signature
Overrides:
toString in class java.lang.Object
Returns:
the long string of the annotation