Uses of Class
edu.umd.cs.findbugs.visitclass.PreorderVisitor

Packages that use PreorderVisitor
edu.umd.cs.findbugs Main package for the FindBugs application - contains the engine class (FindBugs), the object model classes for bug instances (BugInstance, BugAnnotation), and other miscellany. 
edu.umd.cs.findbugs.ba A bytecode analysis framework for BCEL, providing CFG construction, generic dataflow analysis, and a variety of specific dataflow analyses. 
edu.umd.cs.findbugs.detect   
edu.umd.cs.findbugs.visitclass   
 

Uses of PreorderVisitor in edu.umd.cs.findbugs
 

Subclasses of PreorderVisitor in edu.umd.cs.findbugs
 class BytecodeScanningDetector
          Base class for Detectors which want to extend DismantleBytecode.
 

Methods in edu.umd.cs.findbugs with parameters of type PreorderVisitor
 BugInstance BugInstance.addClass(PreorderVisitor visitor)
          Add a class annotation for the class that the visitor is currently visiting.
 BugInstance BugInstance.addClassAndMethod(PreorderVisitor visitor)
          Add a class annotation and a method annotation for the class and method which the given visitor is currently visiting.
 BugInstance BugInstance.addMethod(PreorderVisitor visitor)
          Add a method annotation for the method which the given visitor is currently visiting.
 BugInstance BugInstance.addSourceLine(ClassContext classContext, PreorderVisitor visitor, int pc)
          Add a source line annotation for instruction whose PC is given in the method that the given visitor is currently visiting.
 BugInstance BugInstance.addSourceLineRange(ClassContext classContext, PreorderVisitor visitor, int startPC, int endPC)
          Add a source line annotation describing the source line numbers for a range of instructions in the method being visited by the given visitor.
 BugInstance BugInstance.addSuperclass(PreorderVisitor visitor)
          Add a class annotation for the superclass of the class the visitor is currently visiting.
 BugInstance BugInstance.addVisitedField(PreorderVisitor visitor)
          Add a field annotation for the field which is being visited by given visitor.
static FieldAnnotation FieldAnnotation.fromVisitedField(PreorderVisitor visitor)
          Factory method.
static SourceLineAnnotation SourceLineAnnotation.fromVisitedInstruction(ClassContext classContext, PreorderVisitor visitor, int pc)
          Factory method for creating a source line annotation describing the source line number for the instruction being visited by given visitor.
static SourceLineAnnotation SourceLineAnnotation.fromVisitedInstructionRange(ClassContext classContext, PreorderVisitor visitor, int startPC, int endPC)
          Factory method for creating a source line annotation describing the source line numbers for a range of instructions in the method being visited by the given visitor.
static SourceLineAnnotation SourceLineAnnotation.fromVisitedMethod(PreorderVisitor visitor)
          Factory method for creating a source line annotation describing an entire method.
static MethodAnnotation MethodAnnotation.fromVisitedMethod(PreorderVisitor visitor)
          Factory method to create a MethodAnnotation from the method the given visitor is currently visiting.
 

Uses of PreorderVisitor in edu.umd.cs.findbugs.ba
 

Methods in edu.umd.cs.findbugs.ba with parameters of type PreorderVisitor
static XField XFactory.createXField(PreorderVisitor visitor)
          Create an XField object from the field currently being visited by the given PreorderVisitor.
static XMethod XFactory.createXMethod(PreorderVisitor visitor)
          Create an XMethod object from the method currently being visited by the given PreorderVisitor.
 

Uses of PreorderVisitor in edu.umd.cs.findbugs.detect
 

Subclasses of PreorderVisitor in edu.umd.cs.findbugs.detect
 class BadAppletConstructor
           
 class BadlyOverriddenAdapter
           
 class BadResultSetAccess
           
 class BadSyntaxForRegularExpression
           
 class BadUseOfReturnValue
           
 class BuildCheckReturnAnnotationDatabase
          Scan application classes for CheckReturnValue annotations.
 class BuildNonNullAnnotationDatabase
          Scan application classes for NonNull annotations.
 class CloneIdiom
           
 class ComparatorIdiom
           
 class ConfusedInheritance
           
 class ConfusionBetweenInheritedAndOuterMethod
           
 class DoInsideDoPriviledged
           
 class DontCatchIllegalMonitorStateException
           
 class DroppedException
           
 class DumbMethods
           
 class DuplicateBranches
           
 class EmptyZipFileEntry
           
 class EqStringTest
           
 class FindBadCast
           
 class FindBadForLoop
           
 class FindBugsSummaryStats
           
 class FindCircularDependencies
           
 class FindDoubleCheck
           
 class FindEmptySynchronizedBlock
           
 class FindFieldSelfAssignment
           
 class FindFinalizeInvocations
           
 class FindFloatEquality
           
 class FindFloatMath
           
 class FindHEmismatch
           
 class FindLocalSelfAssignment2
           
 class FindMaskedFields
           
 class FindNakedNotify
           
 class FindNonShortCircuit
           
 class FindPuzzlers
           
 class FindReturnRef
           
 class FindRunInvocations
           
 class FindSpinLoop
           
 class FindUncalledPrivateMethods
          Detector to find private methods that are never called.
 class FindUnconditionalWait
           
 class FindUninitializedGet
           
 class FindUnsyncGet
           
 class FindUselessControlFlow
          A Detector to look for useless control flow.
 class IDivResultCastToDouble
           
 class IncompatMask
          Find comparisons involving values computed with bitwise operations whose outcomes are fixed at compile time.
 class InefficientMemberAccess
           
 class InefficientToArray
          Find occurrences of collection.toArray( new Foo[0] ); This causes another memory allocation through reflection Much better to do collection.toArray( new Foo[collection.size()] );
 class InfiniteLoop
           
 class InfiniteRecursiveLoop
           
 class InheritanceUnsafeGetResource
           
 class InitializationChain
           
 class InstantiateStaticClass
           
 class InvalidJUnitTest
           
 class IteratorIdioms
           
 class LockedFields
           
 class MethodReturnCheck
          Look for calls to methods where the return value is erroneously ignored.
 class Methods
           
 class MultithreadedInstanceAccess
           
 class MutableLock
           
 class MutableStaticFields
           
 class Naming
           
 class NoteCheckReturnValue
           
 class NoteCheckReturnValueAnnotations
          Scan classes for @CheckReturnValue annotations
 class NoteNonNullAnnotations
          Scan classes for @NonNull, @PossiblyNull and @CheckForNull annotations, and convey them to FindNullDeref.
 class NoteSuppressedWarnings
           
 class PreferZeroLengthArrays
           
 class PublicSemaphores
          finds public classes that use 'this' as a semaphore, which can cause conflicts if clients of this class use an instance of this class as their own synchronization point.
 class QuestionableBooleanAssignment
           
 class ReadReturnShouldBeChecked
           
 class RedundantInterfaces
           
 class ResolveAllReferences
           
 class RuntimeExceptionCapture
          RuntimeExceptionCapture
 class SerializableIdiom
           
 class StartInConstructor
           
 class StringConcatenation
          Find occurrences of using the String "+" or "+=" operators within a loop.
 class SuperfluousInstanceOf
          Find occurrences of a instanceof b where it can be determined statically whether this is true or false.
 class SuspiciousThreadInterrupted
          looks for calls to Thread.interrupted from a non static context, especially when that context is not 'currentThread()'.
 class SwitchFallthrough
           
 class TestingGround
           
 class TrainNonNullAnnotations
          Training detector to store NonNull, PossiblyNull and CheckForNull annotations to database files.
 class UnnecessaryMath
          Find occurrences of Math using constants, where the result of the calculation can be determined statically.
 class UnreadFields
           
 class UselessSubclassMethod
           
 class UseObjectEquals
           
 class VarArgsProblems
           
 class VolatileUsage
           
 class WaitInLoop
           
 class WrongMapIterator
           
 class XMLFactoryBypass
           
 

Uses of PreorderVisitor in edu.umd.cs.findbugs.visitclass
 

Subclasses of PreorderVisitor in edu.umd.cs.findbugs.visitclass
 class AnnotationVisitor
           
 class DismantleBytecode