ParametricTypeMorphism

@ApiStatus.Experimental()
public interface ParametricTypeMorphism(source)

Generic interface for transforming GetSetters into GetSetters containing another type.

Inheritors

Functions

Link copied to clipboard
public abstract GetSetter<? extends Object> apply(Type domain, GetSetter<? extends Object> value)
Transform an object from one type to another, wrapped into a GetSetter
Link copied to clipboard
public abstract Optional<Type> codomain(Type domain)
For a given type, return what type this morphism transform each object into.