@Documented @Retention(value=RUNTIME) @Target(value=ANNOTATION_TYPE) public @interface DefaultInUncheckedCodeFor
Unchecked code defaults are only applied if they are enabled via the
-AuseDefaultsForUncheckedCode command-line option. They can be enabled for
source and bytecode separately. If the unchecked code defaults are enabled for
source code, they will only be applied to source code not annotated with
AnnotatedFor
for the checker being executed.
Note, this annotation is analogous to DefaultFor
but for
unannotated type uses in code that has not been type-checked.
This qualifier is for type system developers, not end-users.
AnnotatedFor
,
DefaultQualifier
,
DefaultQualifierInHierarchyInUncheckedCode
,
ImplicitFor
Modifier and Type | Required Element and Description |
---|---|
TypeUseLocation[] |
value |
public abstract TypeUseLocation[] value