Priorities
AnnotationDetector
, AppendingToAnObjectOutputStream
, AtomicityProblem
, BadAppletConstructor
, BadlyOverriddenAdapter
, BadResultSetAccess
, BadSyntaxForRegularExpression
, BadUseOfReturnValue
, BCPMethodReturnCheck
, BooleanReturnNull
, BuildInterproceduralCallGraph
, BuildUnconditionalParamDerefDatabase
, ByteCodePatternDetector
, BytecodeScanningDetector
, CalledMethods
, CallToUnconditionalThrower
, CallToUnsupportedMethod
, CbeckMustOverrideSuperAnnotation
, CheckCalls
, CheckImmutableAnnotation
, CloneIdiom
, ComparatorIdiom
, ConfusedInheritance
, ConfusionBetweenInheritedAndOuterMethod
, CrossSiteScripting
, DoInsideDoPrivileged
, DontCatchIllegalMonitorStateException
, DontIgnoreResultOfPutIfAbsent
, DontUseEnum
, DroppedException
, DumbMethodInvocations
, DumbMethods
, DuplicateBranches
, EmptyZipFileEntry
, EqStringTest
, EqualsOperandShouldHaveClassCompatibleWithThis
, FieldItemSummary
, FinalizerNullsFields
, FindBadCast
, FindBadCast2
, FindBadEqualsImplementation
, FindBadForLoop
, FindBugsSummaryStats
, FindCircularDependencies
, FindDeadLocalStores
, FindDoubleCheck
, FindEmptySynchronizedBlock
, FindFieldSelfAssignment
, FindFinalizeInvocations
, FindFloatEquality
, FindFloatMath
, FindHEmismatch
, FindInconsistentSync2
, FindJSR166LockMonitorenter
, FindLocalSelfAssignment2
, FindMaskedFields
, FindMismatchedWaitOrNotify
, FindNakedNotify
, FindNonSerializableStoreIntoSession
, FindNonSerializableValuePassedToWriteObject
, FindNonShortCircuit
, FindNullDeref
, FindNullDerefsInvolvingNonShortCircuitEvaluation
, FindOpenStream
, FindPuzzlers
, FindRefComparison
, FindReturnRef
, FindRunInvocations
, FindSelfComparison
, FindSelfComparison2
, FindSleepWithLockHeld
, FindSpinLoop
, FindSqlInjection
, FindTwoLockWait
, FindUncalledPrivateMethods
, FindUnconditionalWait
, FindUninitializedGet
, FindUnrelatedTypesInGenericContainer
, FindUnreleasedLock
, FindUnsyncGet
, FindUselessControlFlow
, FormatStringChecker
, HugeSharedStringConstants
, IDivResultCastToDouble
, IncompatMask
, InconsistentAnnotations
, InefficientMemberAccess
, InefficientToArray
, InfiniteLoop
, InfiniteRecursiveLoop
, InfiniteRecursiveLoop2
, InheritanceUnsafeGetResource
, InitializationChain
, InstantiateStaticClass
, InvalidJUnitTest
, IteratorIdioms
, LazyInit
, LoadOfKnownNullValue
, LockedFields
, LostLoggerDueToWeakReference
, MethodReturnCheck
, Methods
, MultithreadedInstanceAccess
, MutableLock
, MutableStaticFields
, Naming
, Noise
, NoiseNullDeref
, NoteAnnotationRetention
, NoteCheckReturnValue
, NoteCheckReturnValueAnnotations
, NoteDirectlyRelevantTypeQualifiers
, NoteJCIPAnnotation
, NoteNonNullAnnotations
, NoteNonnullReturnValues
, NoteSuppressedWarnings
, NoteUnconditionalParamDerefs
, NumberConstructor
, OpcodeStackDetector
, OverridingEqualsNotSymmetrical
, PreferZeroLengthArrays
, PreorderDetector
, PublicSemaphores
, QuestionableBooleanAssignment
, ReadOfInstanceFieldInMethodInvokedByConstructorInSuperclass
, ReadReturnShouldBeChecked
, RedundantInterfaces
, ReflectiveClasses
, RepeatedConditionals
, ResolveAllReferences
, ResourceTrackingDetector
, RuntimeExceptionCapture
, SerializableIdiom
, StartInConstructor
, StaticCalendarDetector
, StringConcatenation
, SuperfluousInstanceOf
, SuspiciousThreadInterrupted
, SwitchFallthrough
, SynchronizationOnSharedBuiltinConstant
, SynchronizeAndNullCheckField
, SynchronizeOnClassLiteralNotGetClass
, SynchronizingOnContentsOfFieldToProtectField
, TestingGround
, TrainFieldStoreTypes
, TrainNonNullAnnotations
, TrainUnconditionalDerefParams
, UncallableMethodOfAnonymousClass
, UnnecessaryMath
, UnreadFields
, URLProblems
, UselessSubclassMethod
, UseObjectEquals
, 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.