Priorities
AnnotationDetector
, AppendingToAnObjectOutputStream
, AtomicityProblem
, BadAppletConstructor
, BadlyOverriddenAdapter
, BadResultSetAccess
, BadSyntaxForRegularExpression
, BadUseOfReturnValue
, BooleanReturnNull
, BuildInterproceduralCallGraph
, BuildStringPassthruGraph
, BuildUnconditionalParamDerefDatabase
, ByteCodePatternDetector
, BytecodeScanningDetector
, CalledMethods
, CallToUnconditionalThrower
, CallToUnsupportedMethod
, CbeckMustOverrideSuperAnnotation
, CheckAnalysisContextContainedAnnotation
, CheckCalls
, CheckImmutableAnnotation
, CloneIdiom
, ComparatorIdiom
, ConfusedInheritance
, ConfusionBetweenInheritedAndOuterMethod
, CovariantArrayAssignment
, CrossSiteScripting
, DefaultEncodingDetector
, DoInsideDoPrivileged
, DontCatchIllegalMonitorStateException
, DontIgnoreResultOfPutIfAbsent
, DontUseEnum
, DroppedException
, DumbMethodInvocations
, DumbMethods
, DuplicateBranches
, EmptyZipFileEntry
, EqualsOperandShouldHaveClassCompatibleWithThis
, ExplicitSerialization
, FieldItemSummary
, FinalizerNullsFields
, FindBadCast2
, FindBadForLoop
, FindBugsSummaryStats
, FindCircularDependencies
, FindComparatorProblems
, FindDeadLocalStores
, FindDoubleCheck
, FindEmptySynchronizedBlock
, FindFieldSelfAssignment
, FindFinalizeInvocations
, FindFloatEquality
, FindFloatMath
, FindHEmismatch
, FindInconsistentSync2
, FindJSR166LockMonitorenter
, FindLocalSelfAssignment2
, FindMaskedFields
, FindMismatchedWaitOrNotify
, FindNakedNotify
, FindNonSerializableStoreIntoSession
, FindNonSerializableValuePassedToWriteObject
, FindNonShortCircuit
, FindNoSideEffectMethods
, FindNullDeref
, FindNullDerefsInvolvingNonShortCircuitEvaluation
, FindOpenStream
, FindPuzzlers
, FindRefComparison
, FindReturnRef
, FindRoughConstants
, FindRunInvocations
, FindSelfComparison
, FindSelfComparison2
, FindSleepWithLockHeld
, FindSpinLoop
, FindSqlInjection
, FindTwoLockWait
, FindUncalledPrivateMethods
, FindUnconditionalWait
, FindUninitializedGet
, FindUnrelatedTypesInGenericContainer
, FindUnreleasedLock
, FindUnsyncGet
, FindUselessControlFlow
, FindUselessObjects
, FindUseOfNonSerializableValue
, FormatStringChecker
, FunctionsThatMightBeMistakenForProcedures
, HugeSharedStringConstants
, IDivResultCastToDouble
, IncompatMask
, InconsistentAnnotations
, InefficientIndexOf
, InefficientInitializationInsideLoop
, InefficientMemberAccess
, InefficientToArray
, InfiniteLoop
, InfiniteRecursiveLoop
, InheritanceUnsafeGetResource
, InitializationChain
, InitializeNonnullFieldsInConstructor
, InstantiateStaticClass
, IntCast2LongAsInstant
, InvalidJUnitTest
, IteratorIdioms
, LazyInit
, LoadOfKnownNullValue
, LostLoggerDueToWeakReference
, MethodReturnCheck
, Methods
, MultithreadedInstanceAccess
, MutableEnum
, MutableLock
, MutableStaticFields
, Naming
, Noise
, NoiseNullDeref
, NoteAnnotationRetention
, NoteCheckReturnValueAnnotations
, NoteDirectlyRelevantTypeQualifiers
, NoteJCIPAnnotation
, NoteNonNullAnnotations
, NoteNonnullReturnValues
, NoteSuppressedWarnings
, NoteUnconditionalParamDerefs
, NumberConstructor
, OpcodeStackDetector
, OpcodeStackDetector.WithCustomJumpInfo
, OptionalReturnNull
, OverridingEqualsNotSymmetrical
, PreferZeroLengthArrays
, PreorderDetector
, PublicSemaphores
, QuestionableBooleanAssignment
, ReadOfInstanceFieldInMethodInvokedByConstructorInSuperclass
, ReadReturnShouldBeChecked
, RedundantConditions
, RedundantInterfaces
, ReflectiveClasses
, RepeatedConditionals
, ResolveAllReferences
, ResourceTrackingDetector
, RuntimeExceptionCapture
, SerializableIdiom
, StartInConstructor
, StaticCalendarDetector
, StringConcatenation
, SuperfluousInstanceOf
, SuspiciousThreadInterrupted
, SwitchFallthrough
, SynchronizationOnSharedBuiltinConstant
, SynchronizeAndNullCheckField
, SynchronizeOnClassLiteralNotGetClass
, SynchronizingOnContentsOfFieldToProtectField
, TestingGround
, TestingGround2
, TrainFieldStoreTypes
, TrainLongInstantfParams
, TrainNonNullAnnotations
, TrainUnconditionalDerefParams
, TypeReturnNull
, UncallableMethodOfAnonymousClass
, UnnecessaryMath
, UnreadFields
, URLProblems
, UselessSubclassMethod
, VarArgsProblems
, VolatileUsage
, WaitInLoop
, WrongMapIterator
, XMLFactoryBypass
public interface Detector extends Priorities
EXP_PRIORITY, HIGH_PRIORITY, IGNORE_PRIORITY, LOW_PRIORITY, NORMAL_PRIORITY
Modifier and Type | Method | Description |
---|---|---|
void |
report() |
This method is called after all classes to be visited.
|
void |
visitClassContext(ClassContext classContext) |
Visit the ClassContext for a class which should be analyzed for instances
of bug patterns.
|
void visitClassContext(ClassContext classContext)
classContext
- the ClassContextvoid report()
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.