org.codehaus.jackson.map.introspect
Class AnnotatedMethod

java.lang.Object
  extended by org.codehaus.jackson.map.introspect.Annotated
      extended by org.codehaus.jackson.map.introspect.AnnotatedMethod

public final class AnnotatedMethod
extends Annotated


Field Summary
 java.lang.Class<?>[] _paramTypes
           
 
Constructor Summary
AnnotatedMethod(java.lang.reflect.Method method)
           
 
Method Summary
 void addAnnotationsNotPresent(java.lang.reflect.Method method)
          Method called to add annotations that have not yet been added to this instance/
 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.
 java.lang.reflect.Method getAnnotated()
           
<A extends java.lang.annotation.Annotation>
A
getAnnotation(java.lang.Class<A> acls)
           
 int getAnnotationCount()
           
 java.lang.Class<?> getDeclaringClass()
           
 java.lang.String getFullName()
           
 java.lang.reflect.Type[] getGenericParameterTypes()
           
 java.lang.reflect.Type getGenericReturnType()
           
 int getModifiers()
           
 java.lang.String getName()
           
 int getParameterCount()
           
 java.lang.Class<?>[] getParameterTypes()
           
 java.lang.Class<?> getReturnType()
           
 boolean hasGetterSignature()
           
static boolean hasGetterSignature(java.lang.reflect.Method m)
           
 java.lang.String toString()
           
 boolean willWriteNullProperties(boolean defValue)
           
 
Methods inherited from class org.codehaus.jackson.map.introspect.Annotated
hasAnnotation, isPublic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_paramTypes

public java.lang.Class<?>[] _paramTypes
Constructor Detail

AnnotatedMethod

public AnnotatedMethod(java.lang.reflect.Method method)
Method Detail

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