Deprecated API
Contents
-
Interfaces Interface Description edu.umd.cs.findbugs.ba.JavaClassAndMethodChooser
-
Enums Enum Description edu.umd.cs.findbugs.annotations.Priority useConfidence
insteadedu.umd.cs.findbugs.annotations.When
-
Annotation Types Annotation Type Description edu.umd.cs.findbugs.annotations.CheckForNull - useCheckForNull
instead.edu.umd.cs.findbugs.annotations.CheckReturnValue - useCheckReturnValue
instead.edu.umd.cs.findbugs.annotations.DefaultAnnotation - Use the JSR305 annotations instead. For example, you can useParametersAreNonnullByDefault
instead of @DefaultAnnotation(NonNull.class) so that method parameters are nonnull by default in the annotated element. You can also useTypeQualifierDefault
in general to define your own annotation that specifies a default type qualifier. For example,Nonnegative
TypeQualifierDefault
(ElementType.PARAMETER
) public @interface ParametersAreNonnegativeByDefault {}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.edu.umd.cs.findbugs.annotations.DefaultAnnotationForFields edu.umd.cs.findbugs.annotations.DefaultAnnotationForMethods edu.umd.cs.findbugs.annotations.DefaultAnnotationForParameters - use the JSR305 annotations instead, For example, you can useParametersAreNonnullByDefault
instead of @DefaultAnnotation(NonNull.class), andTypeQualifierDefault
in general to define a type qualifier default. The JSR305CheckReturnValue
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.edu.umd.cs.findbugs.annotations.NonNull - useNonnull
instead.edu.umd.cs.findbugs.annotations.Nullable - useNullable
instead.edu.umd.cs.findbugs.annotations.OverrideMustInvoke - UseOverridingMethodsMustInvokeSuper
insteadedu.umd.cs.findbugs.annotations.PossiblyNull - use CheckForNull instead; the name of which more clearly indicates that not only could the value be null, but that good coding practice requires that the value be checked for null.edu.umd.cs.findbugs.annotations.ReturnValuesAreNonnullByDefault edu.umd.cs.findbugs.annotations.SuppressWarnings - UseSuppressFBWarnings
insteadedu.umd.cs.findbugs.annotations.UnknownNullness
-
Fields Field Description edu.umd.cs.findbugs.ba.AnalysisFeatures.INTERATIVE_OPCODE_STACK_ANALYSIS edu.umd.cs.findbugs.ba.AnalysisFeatures.NUM_BOOLEAN_ANALYSIS_PROPERTIES - use Builder instead
-
Constructors Constructor Description edu.umd.cs.findbugs.PluginLoader(URL)
-
Enum Constants Enum Constant Description edu.umd.cs.findbugs.ba.AnnotationDatabase.Target.CLASS