public class Getters extends Object
| Modifier and Type | Field and Description |
|---|---|
static Predicate<PropertyDescriptor> |
IS_READ_DESCRIPTOR
Is a property is readable ?
|
| Constructor and Description |
|---|
Getters() |
| Modifier and Type | Method and Description |
|---|---|
static Set<String> |
getReadableProperties(Class<?> beanType)
Obtains all readable properties from a given type.
|
static Class<?> |
getReadableType(Class<?> beanType,
String propertyName) |
static boolean |
isNestedReadableProperty(Class<?> beanType,
String propertyName)
Obtains all readable properties from a given type.
|
public static final Predicate<PropertyDescriptor> IS_READ_DESCRIPTOR
public static Set<String> getReadableProperties(Class<?> beanType)
beanType - the type to seekpublic static boolean isNestedReadableProperty(Class<?> beanType, String propertyName)
beanType - the type to seekpropertyName - FIXMECopyright © 2017 Ultreia.io. All rights reserved.