Interface IPropertyInfo

    • Method Detail

      • isReadable

        boolean isReadable()
        Returns:
        true if the property is readable given the visibility constraint passed in, false otherwise.
      • isReadable

        default boolean isReadable​(IType whosAskin)
      • isWritable

        boolean isWritable()
        Returns:
        True if the property is writable given the visibility constraint passed in, false otherwise.
      • isWritable

        boolean isWritable​(IType whosAskin)
        Parameters:
        whosAskin - The type querying the property writability. For example, passing in the type the property is on will allow properties that have private access in the setter to be written to. Passing in an unrelated type will only allow properties that are to be written to.
        Returns:
        True if the property is writable given the visibility constraint passed in, false otherwise.
      • getAccessor

        IPropertyAccessor getAccessor()
        Returns:
        the PropertyAccessor (for getting and setting) this property.