Package io.ultreia.java4all.lang
Class Getters
- java.lang.Object
-
- io.ultreia.java4all.lang.Getters
-
public class Getters extends Object
Created by tchemit on 25/09/17.- Author:
- Tony Chemit - dev@tchemit.fr
-
-
Constructor Summary
Constructors Constructor Description Getters()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Set<String>getReadableProperties(Class<?> beanType)Obtains all readable properties from a given type.static Class<?>getReadableType(Class<?> beanType, String propertyName)static booleanisNestedReadableProperty(Class<?> beanType, String propertyName)Obtains all readable properties from a given type.
-
-
-
Method Detail
-
getReadableProperties
public static Set<String> getReadableProperties(Class<?> beanType)
Obtains all readable properties from a given type.- Parameters:
beanType- the type to seek- Returns:
- the set of all readable properties for the given type
-
isNestedReadableProperty
public static boolean isNestedReadableProperty(Class<?> beanType, String propertyName)
Obtains all readable properties from a given type.- Parameters:
beanType- the type to seekpropertyName- the property name to seek- Returns:
- the set of all readable properties for the given type
-
-