Package org.openjdk.jmc.common.item
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 suppliesmember accessorsfortypes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> IMemberAccessor<? extends V,T>getAccessor(IType<T> type)Gets the accessor for specified type.
-
-
-
Method Detail
-
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
nullif the type cannot provide such values
-
-