public interface PropertyInfo
Modifier and Type | Method and Description |
---|---|
<T extends Annotation> |
getAnnotation(Class<T> annotationClass)
Returns the annotation on the property's member for the
annotationClass or null if none
exists. |
Type |
getGenericType()
Returns the generic type represented by the property.
|
Class<?> |
getInitialType()
Returns the initial type in the member declaring class' type hierarchy from which this property
info was initiated.
|
Member |
getMember()
Returns the encapsulated member.
|
String |
getName()
Returns the property name.
|
PropertyType |
getPropertyType()
Returns the member type.
|
Class<?> |
getType()
Returns the type represented by the property.
|
<T extends Annotation> T getAnnotation(Class<T> annotationClass)
annotationClass
or null if none
exists.T
- annotation typeannotationClass
- to get annotation forType getGenericType()
Class<?> getInitialType()
Member getMember()
String getName()
PropertyType getPropertyType()
Class<?> getType()
Copyright © 2011-2012. All Rights Reserved.