Class Properties

java.lang.Object
org.keycloak.models.utils.reflection.Properties

public class Properties extends Object
Utility class for working with JavaBean style properties
See Also:
  • Method Details

    • createProperty

      public static <V> MethodProperty<V> createProperty(Method method)
      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

      public static <V> boolean isProperty(Method method)
      Indicates whether this method is a valid property method.