Package org.perfectable.introspection
Interface AnnotationBuilder.MemberExtractor<A extends Annotation,X>
-
- Type Parameters:
A
- annotation type to mark member onX
- annotation member type
- All Superinterfaces:
FunctionalReference
,Serializable
- Enclosing class:
- AnnotationBuilder<A extends Annotation>
- 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 AnnotationBuilder.MemberExtractor<A extends Annotation,X> extends FunctionalReference
Functional reference interface which allows type-safe and refactor-safe extraction of members.This interface should only be implemented with method reference for a method that is a member of an annotation. The method is never actually called in this class.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.perfectable.introspection.FunctionalReference
FunctionalReference.Introspection, FunctionalReference.PartialVisitor<T>, FunctionalReference.Visitor<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description X
extract(A annotation)
-
Methods inherited from interface org.perfectable.introspection.FunctionalReference
introspect
-
-