ParametersAreNonnullByDefault
instead
of @DefaultAnnotation(NonNull.class), and TypeQualifierDefault
in general to define a type qualifier default. The JSR305 CheckReturnValue
annotation can be applied to a type or package, and it will act as a default for all methods
in that class or package unless otherwise overridden.@Documented @Target(value={TYPE,PACKAGE}) @Retention(value=CLASS) @Deprecated public @interface DefaultAnnotationForParameters
Modifier and Type | Required Element and Description |
---|---|
Class<? extends Annotation>[] |
value
Deprecated.
|
Modifier and Type | Optional Element and Description |
---|---|
Confidence |
confidence
Deprecated.
|
Priority |
priority
Deprecated.
|
public abstract Class<? extends Annotation>[] value
@Deprecated public abstract Priority priority
public abstract Confidence confidence
Copyright © 2015. All rights reserved.