Annotation Type ImplementsLocationStrategy
Enables to introduce new annotations of FindBy
type with its own location strategy.
E.g.: framework specific location strategies, extended grammars for well-known strategies, etc.
Usage:
@Retention(RetentionPolicy.RUNTIME) @Target(ElementType.FIELD) @ImplementsLocationStrategy(by = XYZLocationStrategy.class) public @interface FindByXYZ { String value(); }
public static class XYZLocationStrategy implementsLocationStrategy
{ publicBy
fromAnnotation(Annotation
annotation) { return ...; } }
- Author:
- Lukas Fryc
- See Also:
-
Required Element Summary
-
Element Details
-
value
Class<? extends LocationStrategy> value
-