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.AnnotatedWithParams
          extended by org.codehaus.jackson.map.introspect.AnnotatedConstructor

public final class AnnotatedConstructor
extends AnnotatedWithParams


Field Summary
 
Fields inherited from class org.codehaus.jackson.map.introspect.AnnotatedWithParams
_classAnnotations, _paramAnnotations
 
Constructor Summary
AnnotatedConstructor(Constructor<?> constructor, AnnotationMap classAnn, AnnotationMap[] paramAnn)
           
 
Method Summary
 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.
 Constructor<?> getAnnotated()
           
 int getModifiers()
           
 String getName()
           
 AnnotatedParameter getParameter(int index)
           
 Class<?> getParameterClass(int index)
           
 int getParameterCount()
           
 Type getParameterType(int index)
           
 Class<?> getType()
          Method used with annotated things that have class type.
 String toString()
           
 
Methods inherited from class org.codehaus.jackson.map.introspect.AnnotatedWithParams
addIfNotPresent, addOrOverride, addOrOverrideParam, getAnnotation, getAnnotationCount, getParameterAnnotations
 
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
 

Constructor Detail

AnnotatedConstructor

public AnnotatedConstructor(Constructor<?> constructor,
                            AnnotationMap classAnn,
                            AnnotationMap[] paramAnn)
Method Detail

getAnnotated

public Constructor<?> getAnnotated()
Specified by:
getAnnotated in class Annotated

getModifiers

public int getModifiers()
Specified by:
getModifiers in class Annotated

getName

public String getName()
Specified by:
getName in class Annotated

getType

public Class<?> getType()
Description copied from class: Annotated
Method used with annotated things that have class type.

Specified by:
getType in class Annotated

getParameter

public AnnotatedParameter getParameter(int index)
Specified by:
getParameter in class AnnotatedWithParams

getParameterCount

public int getParameterCount()
Specified by:
getParameterCount in class AnnotatedWithParams

getParameterClass

public Class<?> getParameterClass(int index)
Specified by:
getParameterClass in class AnnotatedWithParams

getParameterType

public Type getParameterType(int index)
Specified by:
getParameterType in class AnnotatedWithParams

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.


toString

public String toString()
Overrides:
toString in class Object