Top Description Methods
edu.umd.cs.findbugs.annotations

public @Interface DefaultAnnotationForParameters

extends Annotation
Annotations
@Documented
@Target:TYPE, PACKAGE
@Retention:CLASS
Imports
java.lang.annotation.Annotation, .Documented, .ElementType, .Retention, .RetentionPolicy, .Target

Indicates that all members of the class or package should be annotated with the default value of the supplied annotation class. This would be used for behavior annotations such as @NonNull, @CheckForNull, or @CheckReturnValue. In particular, you can use @DefaultAnnotation(NonNull.class) on a class or package, and then use @Nullable only on those parameters, methods or fields that you want to allow to be null.
Author
William Pugh

Method Summary

Modifier and TypeMethod and Description
public Confidence
public Priority
priority()

Deprecated
public Class<? extends Annotation>[]
Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

confidenceback to summary
public Confidence confidence()
priorityback to summary
public Priority priority()

Deprecated

Annotations
@Deprecated
valueback to summary
public Class<? extends Annotation>[] value()