public class ConstructorParameterImpl extends Object implements ConstructorParameter
| Constructor and Description |
|---|
ConstructorParameterImpl(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 ConstructorParameterImpl(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 getAnnotation()
getAnnotation in interface ParameterPathParam, QueryParam,
etc.public Annotation[] getAnnotations()
getAnnotations in interface Parameterpublic String getDefaultValue()
getDefaultValue in interface Parameterpublic Class<?> getParameterClass()
getParameterClass in interface ParameterMethod.getParameterTypes()public Type getGenericType()
getGenericType in interface ParameterMethod.getGenericParameterTypes()public boolean isEncoded()
Copyright © 2012–2016 Codenvy, S.A.. All rights reserved.