|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.core.type.StandardMethodMetadata
public class StandardMethodMetadata
MethodMetadata implementation that uses standard reflection
to introspect a given Method.
| Constructor Summary | |
|---|---|
StandardMethodMetadata(Method introspectedMethod)
Create a new StandardMethodMetadata wrapper for the given Method. |
|
StandardMethodMetadata(Method introspectedMethod,
boolean nestedAnnotationsAsMap)
Create a new StandardMethodMetadata wrapper for the given Method. |
|
| Method Summary | |
|---|---|
Map<String,Object> |
getAnnotationAttributes(String annotationType)
Retrieve the attributes of the annotation of the given type, if any (i.e. |
String |
getDeclaringClassName()
Return the fully-qualified name of the class that declares this method. |
Method |
getIntrospectedMethod()
Return the underlying Method. |
String |
getMethodName()
Return the name of the method. |
boolean |
isAnnotated(String annotationType)
Determine whether the underlying method has an annotation or meta-annotation of the given type defined. |
boolean |
isFinal()
Return whether the underlying method is marked as 'final'. |
boolean |
isOverridable()
Return whether the underlying method is overridable, i.e. |
boolean |
isStatic()
Return whether the underlying method is declared as 'static'. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StandardMethodMetadata(Method introspectedMethod)
introspectedMethod - the Method to introspect
public StandardMethodMetadata(Method introspectedMethod,
boolean nestedAnnotationsAsMap)
introspectedMethod - the Method to introspectnestedAnnotationsAsMap - | Method Detail |
|---|
public final Method getIntrospectedMethod()
public String getMethodName()
MethodMetadata
getMethodName in interface MethodMetadatapublic String getDeclaringClassName()
MethodMetadata
getDeclaringClassName in interface MethodMetadatapublic boolean isStatic()
MethodMetadata
isStatic in interface MethodMetadatapublic boolean isFinal()
MethodMetadata
isFinal in interface MethodMetadatapublic boolean isOverridable()
MethodMetadata
isOverridable in interface MethodMetadatapublic boolean isAnnotated(String annotationType)
MethodMetadata
isAnnotated in interface MethodMetadataannotationType - the annotation type to look for
public Map<String,Object> getAnnotationAttributes(String annotationType)
MethodMetadata
getAnnotationAttributes in interface MethodMetadataannotationType - the annotation type to look for
null if no matching annotation is defined.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||