org.codehaus.jackson.map.introspect
Class AnnotatedConstructor

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

public final class AnnotatedConstructor
extends Annotated


Constructor Summary
AnnotatedConstructor(java.lang.reflect.Constructor<?> constructor)
           
 
Method Summary
 void addAnnotationsNotPresent(java.lang.reflect.Constructor<?> constructor)
          Constructor 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.Constructor<?> getAnnotated()
           
<A extends java.lang.annotation.Annotation>
A
getAnnotation(java.lang.Class<A> acls)
           
 int getModifiers()
           
 java.lang.String getName()
           
 java.lang.Class<?>[] getParameterTypes()
           
 
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, toString, wait, wait, wait
 

Constructor Detail

AnnotatedConstructor

public AnnotatedConstructor(java.lang.reflect.Constructor<?> constructor)
Method Detail

addAnnotationsNotPresent

public void addAnnotationsNotPresent(java.lang.reflect.Constructor<?> constructor)
Constructor called to add annotations that have not yet been added to this instance/


getAnnotated

public java.lang.reflect.Constructor<?> 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

getParameterTypes

public java.lang.Class<?>[] getParameterTypes()

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.