public class MethodParameterImpl extends Object implements MethodParameter
| Constructor and Description |
|---|
MethodParameterImpl(Annotation annotation,
Annotation[] additional,
Class<?> clazz,
Type type,
String defaultValue,
boolean encoded)
Constructs new instance of MethodParameter.
|
| Modifier and Type | Method and Description |
|---|---|
Annotation |
getAnnotation() |
Annotation[] |
getAnnotations() |
String |
getDefaultValue() |
Type |
getGenericType() |
Class<?> |
getParameterClass() |
boolean |
isEncoded() |
String |
toString() |
public MethodParameterImpl(Annotation annotation, Annotation[] additional, Class<?> clazz, Type type, String defaultValue, boolean encoded)
annotation - see annotationadditional - see additionalclazz - parameter classtype - generic parameter typedefaultValue - default value for parameter. See
DefaultValue.encoded - true if parameter must not be decoded false otherwisepublic Annotation[] getAnnotations()
getAnnotations in interface Parameterpublic Annotation getAnnotation()
getAnnotation in interface ParameterPathParam, QueryParam,
etc.public boolean isEncoded()
public String getDefaultValue()
getDefaultValue in interface Parameterpublic Type getGenericType()
getGenericType in interface ParameterMethod.getGenericParameterTypes()public Class<?> getParameterClass()
getParameterClass in interface ParameterMethod.getParameterTypes()Copyright © 2015. All rights reserved.