Interface ReflectionPatterns.Access<A>

Type Parameters:
A - the target type of objects to extract from
All Superinterfaces:
CachedTransform.TryApply<A,Object>
Enclosing class:
ReflectionPatterns
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ReflectionPatterns.Access<A> extends CachedTransform.TryApply<A,Object>
A function that extracts data from a target object by reflection.
  • Method Summary

    Modifier and Type
    Method
    Description
    access(A target)
    Returns data extracted from the given object by reflection.
    default Object
    tryApply(A target)
    Checks whether a target can be transformed and transforms it.