Class Properties


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

      • 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.