FindBugs™ 1.3.9

edu.umd.cs.findbugs
Interface Detector

All Superinterfaces:
Priorities
All Known Implementing Classes:
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

The interface which all bug pattern detectors must implement.


Field Summary
 
Fields inherited from interface edu.umd.cs.findbugs.Priorities
EXP_PRIORITY, HIGH_PRIORITY, IGNORE_PRIORITY, LOW_PRIORITY, NORMAL_PRIORITY
 
Method Summary
 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.
 

Method Detail

visitClassContext

void visitClassContext(ClassContext classContext)
Visit the ClassContext for a class which should be analyzed for instances of bug patterns.

Parameters:
classContext - the ClassContext

report

void report()
This method is called after all classes to be visited. It should be used by any detectors which accumulate information over all visited classes to generate results.


FindBugs™ 1.3.9

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.