We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make sure that all appropriate annotation classes in the Security API have a corresponding AnnotationLiteral implementation provided by the API.
AnnotationLiteral
The pattern is:
With parameters:
@Qualifier @Retention(RUNTIME) public @interface Xyz { String foo() default ""; String bar() default "bla"; /** * <p class="changed_added_4_0"> * Supports inline instantiation of the {@link Xyz} annotation. * </p> * * @since 4.0 */ public static final class Literal extends AnnotationLiteral<Xyz> implements Xyz { private static final long serialVersionUID = 1L; public static final Literal INSTANCE = of("", "bla"); private final String foo; private final String bar; public static Literal of(String foo, String bar) { return new Literal(foo, bar); } private Literal(String foo, String bar) { this.foo = foo; this.bar = bar; } @Override public String foo() { return foo; } @Override public String bar() { return bar; } } }
Without parameters:
@Qualifier @Retention(RUNTIME) @Target({ TYPE, METHOD, FIELD, PARAMETER }) @Documented public @interface Xyz { public static final class Literal extends AnnotationLiteral<Any> implements Xyz { private static final long serialVersionUID = 1L; public static final Literal INSTANCE = new Literal(); } }
The text was updated successfully, but these errors were encountered:
Merge pull request #197 from arjantijms/196_annotation_literals
e6a92fb
#196 - Add missing annotation literals to interceptor bindings
arjantijms
Successfully merging a pull request may close this issue.
Make sure that all appropriate annotation classes in the Security API have a corresponding
AnnotationLiteral
implementation provided by the API.The pattern is:
With parameters:
Without parameters:
The text was updated successfully, but these errors were encountered: