org.codehaus.jackson.map.introspect
Class AnnotatedConstructor
java.lang.Object
org.codehaus.jackson.map.introspect.Annotated
org.codehaus.jackson.map.introspect.AnnotatedWithParams
org.codehaus.jackson.map.introspect.AnnotatedConstructor
public final class AnnotatedConstructor
- extends AnnotatedWithParams
AnnotatedConstructor
public AnnotatedConstructor(Constructor<?> constructor,
AnnotationMap classAnn,
AnnotationMap[] paramAnn)
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