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)
           
 int getModifiers()
           
 String getName()
           
 Type getParameterType()
           
 Class<?> getType()
          Method used with annotated things that have class type.
 
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

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

getType

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

Specified by:
getType in class Annotated

getParameterType

public Type getParameterType()