org.codehaus.jackson.map.introspect
Class AnnotatedParameter

java.lang.Object
  extended by org.codehaus.jackson.map.introspect.Annotated
      extended by 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.


Constructor Summary
AnnotatedParameter(Type type, AnnotationMap ann)
           
 
Method Summary
 void addOrOverride(Annotation a)
           
 AnnotatedElement getAnnotated()
           
<A extends Annotation>
A
getAnnotation(Class<A> acls)
           
 Type getGenericType()
          Full generic type of the annotated element; definition of what exactly this means depends on sub-class.
 int getModifiers()
           
 String getName()
           
 Type getParameterType()
           
 Class<?> getRawType()
          "Raw" type (type-erased class) of the annotated element; definition of what exactly this means depends on sub-class.
 
Methods inherited from class org.codehaus.jackson.map.introspect.Annotated
getType, hasAnnotation, isPublic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotatedParameter

public AnnotatedParameter(Type type,
                          AnnotationMap ann)
Method Detail

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()