Interface and Description |
---|
edu.umd.cs.findbugs.ba.JavaClassAndMethodChooser |
Enum and Description |
---|
edu.umd.cs.findbugs.annotations.Priority
use
Confidence instead |
edu.umd.cs.findbugs.annotations.When |
Annotation Type and Description |
---|
edu.umd.cs.findbugs.annotations.CheckForNull
- use
CheckForNull instead. |
edu.umd.cs.findbugs.annotations.CheckReturnValue
- use
CheckReturnValue instead. |
edu.umd.cs.findbugs.annotations.DefaultAnnotation
- Use the JSR305 annotations instead.
For example, you can use
ParametersAreNonnullByDefault instead
of @DefaultAnnotation(NonNull.class) so that method parameters are nonnull by default in the annotated
element. You can also use TypeQualifierDefault
in general to define your own annotation that specifies a default type qualifier. For example,
The JSR305 |
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 use
ParametersAreNonnullByDefault instead
of @DefaultAnnotation(NonNull.class), and TypeQualifierDefault
in general to define a type qualifier default. 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.NonNull
- use
Nonnull instead. |
edu.umd.cs.findbugs.annotations.Nullable
- use
Nullable instead. |
edu.umd.cs.findbugs.annotations.OverrideMustInvoke
- Use
OverridingMethodsMustInvokeSuper instead |
edu.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
- Use
SuppressFBWarnings instead |
edu.umd.cs.findbugs.annotations.UnknownNullness |
Field and Description |
---|
edu.umd.cs.findbugs.ba.AnalysisFeatures.INTERATIVE_OPCODE_STACK_ANALYSIS |
edu.umd.cs.findbugs.ba.AnalysisFeatures.NUM_BOOLEAN_ANALYSIS_PROPERTIES
- use Builder instead
|
Constructor and Description |
---|
edu.umd.cs.findbugs.PluginLoader() |
edu.umd.cs.findbugs.PluginLoader(boolean, URL) |
edu.umd.cs.findbugs.PluginLoader(URL) |
edu.umd.cs.findbugs.PluginLoader(URL, ClassLoader) |
Enum Constant and Description |
---|
edu.umd.cs.findbugs.ba.AnnotationDatabase.Target.CLASS |
Annotation Type Element and Description |
---|
edu.umd.cs.findbugs.annotations.DesireNoWarning.priority
- use confidence instead
|
edu.umd.cs.findbugs.annotations.DefaultAnnotationForParameters.priority |
edu.umd.cs.findbugs.annotations.DefaultAnnotationForMethods.priority |
edu.umd.cs.findbugs.annotations.DefaultAnnotationForFields.priority |
edu.umd.cs.findbugs.annotations.DefaultAnnotation.priority |
edu.umd.cs.findbugs.annotations.CheckReturnValue.priority |
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.