org.codehaus.jackson.map.introspect
Class AnnotatedParameter
java.lang.Object
org.codehaus.jackson.map.introspect.Annotated
org.codehaus.jackson.map.introspect.AnnotatedParameter
public final class AnnotatedParameter
- extends Annotated
Object that represents method parameters, mostly so that associated
annotations can be processed conveniently.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotatedParameter
public AnnotatedParameter(Type type,
AnnotationMap ann)
addOrOverride
public void addOrOverride(Annotation a)
getAnnotated
public AnnotatedElement 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
getAnnotation
public <A extends Annotation> A getAnnotation(Class<A> acls)
- Specified by:
getAnnotation
in class Annotated
getGenericType
public Type getGenericType()
- Description copied from class:
Annotated
- Full generic type of the annotated element; definition
of what exactly this means depends on sub-class.
- Specified by:
getGenericType
in class Annotated
getRawType
public Class<?> getRawType()
- Description copied from class:
Annotated
- "Raw" type (type-erased class) of the annotated element; definition
of what exactly this means depends on sub-class.
- Specified by:
getRawType
in class Annotated
getParameterType
public Type getParameterType()