Package me.gilbva.shrike.navigation
Interface FieldNavigator<A extends java.lang.annotation.Annotation>
- Type Parameters:
A- The annotation that the fields must have in other to be accept by the navigator.
- 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 interface FieldNavigator<A extends java.lang.annotation.Annotation>
Functional interface used by
ClassRepository for navigating annotated
fields in the inversion of control context.- Author:
- Gilberto Vento
-
Method Details
-
accept
This method is call when ever a field in a component if found to have the given annotation.- Parameters:
field- The field been found.component- The class of the component that contains the found field.annotation- The instance of the annotation of the field.
-