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