Interface IAccessorFactory<V>

Type Parameters:
V - type of the returned value from the member accessor
All Known Subinterfaces:
IAttribute<V>, ICanonicalAccessorFactory<V>
All Known Implementing Classes:
Attribute

public interface IAccessorFactory<V>
A function that supplies member accessors for types.
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> IMemberAccessor<? extends V,T>
    getAccessor(IType<T> type)
    Gets the accessor for specified type.
  • Method Details

    • getAccessor

      <T> IMemberAccessor<? extends V,T> getAccessor(IType<T> type)
      Gets the accessor for specified type.
      Type Parameters:
      T - input type class
      Parameters:
      type - type that the accessor should work for
      Returns:
      a member accessor or null if the type cannot provide such values