Class Properties
java.lang.Object
org.keycloak.models.utils.reflection.Properties
Utility class for working with JavaBean style properties
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic <V> MethodProperty<V>createProperty(Method method) Create a JavaBean style property from the specified methodstatic <V> booleanisProperty(Method method) Indicates whether this method is a valid property method.
-
Method Details
-
createProperty
Create a JavaBean style property from the specified method- Type Parameters:
V-- Parameters:
method-- Returns:
- Throws:
IllegalArgumentException- if the method does not match JavaBean conventions
-
isProperty
Indicates whether this method is a valid property method.
-