org.codehaus.jackson.map.introspect
Class AnnotatedMethod
java.lang.Object
org.codehaus.jackson.map.introspect.Annotated
org.codehaus.jackson.map.introspect.AnnotatedMethod
public final class AnnotatedMethod
- extends Annotated
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_paramTypes
public java.lang.Class<?>[] _paramTypes
AnnotatedMethod
public AnnotatedMethod(java.lang.reflect.Method method)
addAnnotationsNotPresent
public void addAnnotationsNotPresent(java.lang.reflect.Method method)
- Method called to add annotations that have not yet been
added to this instance/
getAnnotated
public java.lang.reflect.Method getAnnotated()
- Specified by:
getAnnotated in class Annotated
getModifiers
public int getModifiers()
- Specified by:
getModifiers in class Annotated
getName
public java.lang.String getName()
- Specified by:
getName in class Annotated
getAnnotation
public <A extends java.lang.annotation.Annotation> A getAnnotation(java.lang.Class<A> acls)
- Specified by:
getAnnotation in class Annotated
getGenericParameterTypes
public java.lang.reflect.Type[] getGenericParameterTypes()
getParameterTypes
public java.lang.Class<?>[] getParameterTypes()
getParameterCount
public int getParameterCount()
getGenericReturnType
public java.lang.reflect.Type getGenericReturnType()
getReturnType
public java.lang.Class<?> getReturnType()
getDeclaringClass
public java.lang.Class<?> getDeclaringClass()
getFullName
public java.lang.String getFullName()
getAnnotationCount
public int getAnnotationCount()
fixAccess
public void fixAccess()
- Method that can be called to modify access rights, by calling
AccessibleObject.setAccessible(java.lang.reflect.AccessibleObject[], boolean) on
the underlying annotated element.
hasGetterSignature
public boolean hasGetterSignature()
hasGetterSignature
public static boolean hasGetterSignature(java.lang.reflect.Method m)
willWriteNullProperties
public boolean willWriteNullProperties(boolean defValue)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object