public class PojoParameterImpl extends Object implements PojoParameter
| Constructor and Description |
|---|
PojoParameterImpl(Type type,
Annotation[] annotations) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Annotation> |
getAnnotation(Class<T> annotationClass)
Get specified instance of an annotation defined on element.
|
List<? extends Annotation> |
getAnnotations()
Get all annotations defined on element.
|
List<Type> |
getParameterTypes()
Get the generics defined, returns empty list if not Parameterized.
|
Class<?> |
getType()
Return the type encapsulated.
|
boolean |
isParameterized() |
String |
toString() |
public PojoParameterImpl(Type type, Annotation[] annotations)
public List<? extends Annotation> getAnnotations()
AnnotatablegetAnnotations in interface Annotatablepublic <T extends Annotation> T getAnnotation(Class<T> annotationClass)
AnnotatablegetAnnotation in interface AnnotatableT - Class Type of annotation.annotationClass - The annotation class.public Class<?> getType()
ParameterizablegetType in interface Parameterizablepublic boolean isParameterized()
isParameterized in interface Parameterizablepublic List<Type> getParameterTypes()
ParameterizablegetParameterTypes in interface ParameterizableCopyright © 2010–2019. All rights reserved.