Reads the properties of a class in an optimized manner avoiding exceptions.
Modifiers | Name | Description |
---|---|---|
static interface |
ClassPropertyFetcher.ReferenceInstanceCallback |
Type | Name and description |
---|---|
static ClassPropertyFetcher |
forClass(java.lang.Class c) |
java.lang.reflect.Field |
getDeclaredField(java.lang.String name) |
java.lang.Class |
getJavaClass() @return The Java that this ClassPropertyFetcher was constructor for |
java.util.List<java.beans.PropertyDescriptor> |
getPropertiesAssignableFromType(java.lang.Class assignableType) |
java.util.List<java.beans.PropertyDescriptor> |
getPropertiesAssignableToType(java.lang.Class assignableType) |
java.util.List<java.beans.PropertyDescriptor> |
getPropertiesOfType(java.lang.Class javaClass) |
java.beans.PropertyDescriptor |
getPropertyDescriptor(java.lang.String name) |
java.beans.PropertyDescriptor[] |
getPropertyDescriptors() |
java.lang.Class |
getPropertyType(java.lang.String name) |
java.lang.Class |
getPropertyType(java.lang.String name, boolean onlyInstanceProperties) |
java.lang.Object |
getPropertyValue(java.lang.String name) |
java.lang.Object |
getPropertyValue(java.lang.String name, boolean onlyInstanceProperties) |
T |
getPropertyValue(java.lang.String name, java.lang.Class<T> c) |
java.lang.Object |
getReference() |
T |
getStaticPropertyValue(java.lang.String name, java.lang.Class<T> c) |
boolean |
isReadableProperty(java.lang.String name) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |