FindBugs™ 1.3.9

edu.umd.cs.findbugs.annotations
Annotation Type DefaultAnnotationForMethods


@Documented
@Target(value={TYPE,PACKAGE})
@Retention(value=CLASS)
public @interface DefaultAnnotationForMethods

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

Required Element Summary
 java.lang.Class<? extends java.lang.annotation.Annotation>[] value
           
 
Optional Element Summary
 Priority priority
           
 

Element Detail

value

public abstract java.lang.Class<? extends java.lang.annotation.Annotation>[] value

priority

public abstract Priority priority
Default:
edu.umd.cs.findbugs.annotations.Priority.MEDIUM

FindBugs™ 1.3.9

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.