|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.codehaus.aspectwerkz.joinpoint.impl.MethodSignatureImpl
Implementation for the method signature.
| Constructor Summary | |
MethodSignatureImpl(Class declaringType,
MethodTuple methodTuple)
|
|
| Method Summary | |
Annotation |
getAnnotation(String annotationName)
Return the annotation with a specific name. |
List |
getAnnotationInfos()
Return all the annotations Each annotation is wrapped in AnnotationInfoinstance. |
List |
getAnnotations(String annotationName)
Return a list with the annotations with a specific name. |
Class |
getDeclaringType()
Returns the declaring class. |
Class[] |
getExceptionTypes()
Returns the exception types declared by the code block. |
Method |
getMethod()
Returns the method. |
MethodTuple |
getMethodTuple()
Returns the method tuple. |
int |
getModifiers()
Returns the modifiers for the signature. |
String |
getName()
Returns the name (f.e. name of method of field). |
Class[] |
getParameterTypes()
Returns the parameter types. |
Class |
getReturnType()
Returns the return type. |
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 MethodSignatureImpl(Class declaringType,
MethodTuple methodTuple)
declaringType - methodTuple - | Method Detail |
public MethodTuple getMethodTuple()
public Method getMethod()
getMethod in interface MethodSignaturepublic Class getDeclaringType()
getDeclaringType in interface Signaturepublic int getModifiers()
boolean isPublic = java.lang.reflect.Modifier.isPublic(signature.getModifiers());
getModifiers in interface Signaturepublic String getName()
getName in interface Signaturepublic Class[] getExceptionTypes()
getExceptionTypes in interface CodeSignaturepublic Class[] getParameterTypes()
getParameterTypes in interface CodeSignaturepublic Class getReturnType()
getReturnType in interface MethodSignaturepublic Annotation getAnnotation(String annotationName)
getAnnotation in interface MemberSignatureannotationName - the annotation name
public List getAnnotations(String annotationName)
getAnnotations in interface MemberSignatureannotationName - the annotation name
public List getAnnotationInfos()
AnnotationInfoinstance.
getAnnotationInfos in interface MemberSignaturepublic String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||