|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.aspectwerkz.joinpoint.impl.FieldSignatureImpl
public class FieldSignatureImpl
Implementation for the field signature.
Constructor Summary | |
---|---|
FieldSignatureImpl(Class declaringType,
Field field)
|
Method Summary | |
---|---|
Annotation |
getAnnotation(String annotationName)
Return the annotation with a specific name. |
List |
getAnnotationInfos()
Return all the annotations Each annotation is wrapped in AnnotationInfo instance. |
List |
getAnnotations(String annotationName)
Return a list with the annotations with a specific name. |
Class |
getDeclaringType()
Returns the declaring class. |
Field |
getField()
Returns the field. |
Class |
getFieldType()
Returns the field type. |
int |
getModifiers()
Returns the modifiers for the signature. |
String |
getName()
Returns the name (f.e. name of method of field). |
String |
toString()
Returns a string representation of the signature. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FieldSignatureImpl(Class declaringType, Field field)
field
- declaringType
- Method Detail |
---|
public Class getDeclaringType()
getDeclaringType
in interface Signature
public int getModifiers()
boolean isPublic = java.lang.reflect.Modifier.isPublic(signature.getModifiers());
getModifiers
in interface Signature
public String getName()
getName
in interface Signature
public Field getField()
getField
in interface FieldSignature
public Class getFieldType()
getFieldType
in interface FieldSignature
public Annotation getAnnotation(String annotationName)
getAnnotation
in interface MemberSignature
annotationName
- the annotation name
public List getAnnotations(String annotationName)
getAnnotations
in interface MemberSignature
annotationName
- the annotation name
public List getAnnotationInfos()
AnnotationInfo
instance.
getAnnotationInfos
in interface MemberSignature
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |