public class Parameter extends Object implements AnnotatedElement
Modifier and Type | Class and Description |
---|---|
static class |
Parameter.Source |
Constructor and Description |
---|
Parameter(Annotation[] as,
Annotation a,
Parameter.Source source,
String sourceName,
Type type,
Class<?> clazz) |
Parameter(Annotation[] as,
Annotation a,
Parameter.Source source,
String sourceName,
Type type,
Class<?> clazz,
boolean encoded) |
Parameter(Annotation[] as,
Annotation a,
Parameter.Source source,
String sourceName,
Type type,
Class<?> clazz,
boolean encoded,
String defaultValue) |
Parameter(Annotation[] as,
Annotation a,
Parameter.Source source,
String sourceName,
Type type,
Class<?> clazz,
String defaultValue) |
Modifier and Type | Method and Description |
---|---|
Annotation |
getAnnotation() |
<T extends Annotation> |
getAnnotation(Class<T> annotationType) |
Annotation[] |
getAnnotations() |
Annotation[] |
getDeclaredAnnotations() |
String |
getDefaultValue() |
Class<?> |
getParameterClass() |
Type |
getParameterType() |
Parameter.Source |
getSource() |
String |
getSourceName() |
boolean |
hasDefaultValue() |
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationType) |
boolean |
isEncoded() |
boolean |
isQualified() |
public Parameter(Annotation[] as, Annotation a, Parameter.Source source, String sourceName, Type type, Class<?> clazz)
public Parameter(Annotation[] as, Annotation a, Parameter.Source source, String sourceName, Type type, Class<?> clazz, boolean encoded)
public Parameter(Annotation[] as, Annotation a, Parameter.Source source, String sourceName, Type type, Class<?> clazz, String defaultValue)
public Parameter(Annotation[] as, Annotation a, Parameter.Source source, String sourceName, Type type, Class<?> clazz, boolean encoded, String defaultValue)
public Annotation getAnnotation()
public Parameter.Source getSource()
public String getSourceName()
public boolean isEncoded()
public boolean hasDefaultValue()
public String getDefaultValue()
public Class<?> getParameterClass()
public Type getParameterType()
public boolean isQualified()
public <T extends Annotation> T getAnnotation(Class<T> annotationType)
getAnnotation
in interface AnnotatedElement
public Annotation[] getAnnotations()
getAnnotations
in interface AnnotatedElement
public Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations
in interface AnnotatedElement
public boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
isAnnotationPresent
in interface AnnotatedElement
Copyright © 2013 Oracle Corporation. All rights reserved.