Interface Introspector

    • Method Detail

      • getProperties

        Property[] getProperties​(Object introspected)
        Parameters:
        introspected - Object; the introspected object
        Returns:
        Retrieves properties of the introspected object. The properties' values can themselves be introspectable. An empty array is returned if no introspected object has been set.
      • getPropertyNames

        String[] getPropertyNames​(Object introspected)
        Retrieves the names of the properties of the introspected object.
        Parameters:
        introspected - Object; The introspected object.
        Returns:
        An unordered array of the introspected object's property names.
      • getProperty

        Property getProperty​(Object introspected,
                             String property)
        Retrieves the {see Property}with a given name from an introspected object.
        Parameters:
        introspected - Object; The introspected object.
        property - String; The name of the property to be retrieved
        Returns:
        A {see Property}instance for the given object and property name.