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


Deprecated.

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

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
 Class<? extends Annotation>[] value
          Deprecated.  
 
Optional Element Summary
 Confidence confidence
          Deprecated.  
 Priority priority
          Deprecated. 
 

Element Detail

value

public abstract Class<? extends Annotation>[] value
Deprecated. 

priority

@Deprecated
public abstract Priority priority
Deprecated. 

Default:
edu.umd.cs.findbugs.annotations.Priority.MEDIUM

confidence

public abstract Confidence confidence
Deprecated. 
Default:
edu.umd.cs.findbugs.annotations.Confidence.MEDIUM


Copyright © 2012 Ness Computing, Inc.. All Rights Reserved.