Uses of Class
edu.umd.cs.findbugs.ba.ClassContext
-
Packages that use ClassContext Package Description 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.ba.bcp edu.umd.cs.findbugs.ba.npe edu.umd.cs.findbugs.ba.vna edu.umd.cs.findbugs.bcel edu.umd.cs.findbugs.classfile.engine.bcel Support for analyses based on the BCEL bytecode framework.edu.umd.cs.findbugs.classfile.impl Implementations of the interfaces in the edu.umd.cs.findbugs.classfile package: the core classes of the FindBugs classfile/classpath support layer.edu.umd.cs.findbugs.detect edu.umd.cs.findbugs.props -
-
Uses of ClassContext in edu.umd.cs.findbugs
Fields in edu.umd.cs.findbugs declared as ClassContext Modifier and Type Field Description private ClassContext
BytecodeScanningDetector. classContext
private ClassContext
SelfCalls. classContext
Methods in edu.umd.cs.findbugs that return ClassContext Modifier and Type Method Description ClassContext
BytecodeScanningDetector. getClassContext()
Get the ClassContext of the class currently being visited.Methods in edu.umd.cs.findbugs with parameters of type ClassContext Modifier and Type Method Description void
BugAccumulator. accumulateBug(BugInstance bug, ClassContext classContext, org.apache.bcel.classfile.Method method, Location location)
void
BugAccumulator. accumulateBug(BugInstance bug, ClassContext classContext, org.apache.bcel.generic.MethodGen methodGen, java.lang.String sourceFile, Location location)
BugInstance
BugInstance. addSomeSourceForTopTwoStackValues(ClassContext classContext, org.apache.bcel.classfile.Method method, Location location)
BugInstance
BugInstance. addSourceForTopStackValue(ClassContext classContext, org.apache.bcel.classfile.Method method, Location location)
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. addSourceLine(ClassContext classContext, org.apache.bcel.classfile.Method method, Location location)
Add source line annotation for given Location in a method.BugInstance
BugInstance. addSourceLine(ClassContext classContext, org.apache.bcel.classfile.Method method, org.apache.bcel.generic.InstructionHandle handle)
Add source line annotation for given Location in a method.BugInstance
BugInstance. addSourceLine(ClassContext classContext, org.apache.bcel.generic.MethodGen methodGen, java.lang.String sourceFile, org.apache.bcel.generic.InstructionHandle handle)
Add a source line annotation for the given instruction in the given method.BugInstance
BugInstance. addSourceLine(ClassContext classContext, org.apache.bcel.generic.MethodGen methodGen, java.lang.String sourceFile, org.apache.bcel.generic.InstructionHandle start, org.apache.bcel.generic.InstructionHandle end)
Add a source line annotation describing a range of instructions.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.void
ResourceTrackingDetector. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method, ResourceTrackerType resourceTracker, ResourceCollection<Resource> resourceCollection)
private ResourceCollection<Resource>
ResourceTrackingDetector. buildResourceCollection(ClassContext classContext, org.apache.bcel.classfile.Method method, ResourceTrackerType resourceTracker)
static LocalVariableAnnotation
LocalVariableAnnotation. findMatchingIgnoredParameter(ClassContext classContext, org.apache.bcel.classfile.Method method, java.lang.String name, java.lang.String signature)
static LocalVariableAnnotation
LocalVariableAnnotation. findUniqueBestMatchingParameter(ClassContext classContext, org.apache.bcel.classfile.Method method, java.lang.String name, java.lang.String signature)
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. fromVisitedInstruction(ClassContext classContext, org.apache.bcel.classfile.Method method, int pc)
Create from Method and bytecode offset in a visited class.static SourceLineAnnotation
SourceLineAnnotation. fromVisitedInstruction(ClassContext classContext, org.apache.bcel.classfile.Method method, Location loc)
Create from Method and Location in a visited class.static SourceLineAnnotation
SourceLineAnnotation. fromVisitedInstruction(ClassContext classContext, org.apache.bcel.classfile.Method method, org.apache.bcel.generic.InstructionHandle handle)
Create from Method and InstructionHandle in a visited class.static SourceLineAnnotation
SourceLineAnnotation. fromVisitedInstruction(ClassContext classContext, org.apache.bcel.generic.MethodGen methodGen, java.lang.String sourceFile, org.apache.bcel.generic.InstructionHandle handle)
Factory method for creating a source line annotation describing the source line number for a visited instruction.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. fromVisitedInstructionRange(ClassContext classContext, org.apache.bcel.generic.MethodGen methodGen, java.lang.String sourceFile, org.apache.bcel.generic.InstructionHandle start, org.apache.bcel.generic.InstructionHandle end)
Factory method for creating a source line annotation describing the source line numbers for a range of instruction in a method.abstract ResourceTrackerType
ResourceTrackingDetector. getResourceTracker(ClassContext classContext, org.apache.bcel.classfile.Method method)
static BugAnnotation
BugInstance. getSomeSource(ClassContext classContext, org.apache.bcel.classfile.Method method, Location location, OpcodeStack stack, int stackPos)
static BugAnnotation
BugInstance. getSourceForStackValue(ClassContext classContext, org.apache.bcel.classfile.Method method, Location location, int depth)
static BugAnnotation
BugInstance. getSourceForTopStackValue(ClassContext classContext, org.apache.bcel.classfile.Method method, Location location)
abstract void
ResourceTrackingDetector. inspectResult(ClassContext classContext, org.apache.bcel.generic.MethodGen methodGen, CFG cfg, Dataflow<ResourceValueFrame,ResourceValueAnalysis<Resource>> dataflow, Resource resource)
private boolean
ResourceTrackingDetector. mightCloseResource(ClassContext classContext, org.apache.bcel.classfile.Method method, ResourceTrackerType resourceTracker)
abstract boolean
ByteCodePatternDetector. prescreen(org.apache.bcel.classfile.Method method, ClassContext classContext)
Prescreen a method.abstract boolean
ResourceTrackingDetector. prescreen(ClassContext classContext, org.apache.bcel.classfile.Method method, boolean mightClose)
abstract void
ByteCodePatternDetector. reportMatch(ClassContext classContext, org.apache.bcel.classfile.Method method, ByteCodePatternMatch match)
Called to report an instance of the ByteCodePattern.void
ByteCodePatternDetector. visitClassContext(ClassContext classContext)
void
BytecodeScanningDetector. visitClassContext(ClassContext classContext)
void
Detector. visitClassContext(ClassContext classContext)
Visit the ClassContext for a class which should be analyzed for instances of bug patterns.void
ResourceTrackingDetector. visitClassContext(ClassContext classContext)
Constructors in edu.umd.cs.findbugs with parameters of type ClassContext Constructor Description SelfCalls(ClassContext classContext)
Constructor. -
Uses of ClassContext in edu.umd.cs.findbugs.ba
Methods in edu.umd.cs.findbugs.ba that return ClassContext Modifier and Type Method Description ClassContext
AnalysisContext. getClassContext(org.apache.bcel.classfile.JavaClass javaClass)
Get the ClassContext for a class. -
Uses of ClassContext in edu.umd.cs.findbugs.ba.bcp
Constructors in edu.umd.cs.findbugs.ba.bcp with parameters of type ClassContext Constructor Description PatternMatcher(ByteCodePattern pattern, ClassContext classContext, org.apache.bcel.classfile.Method method)
Constructor. -
Uses of ClassContext in edu.umd.cs.findbugs.ba.npe
Fields in edu.umd.cs.findbugs.ba.npe declared as ClassContext Modifier and Type Field Description private ClassContext
NullDerefAndRedundantComparisonFinder. classContext
Methods in edu.umd.cs.findbugs.ba.npe with parameters of type ClassContext Modifier and Type Method Description static UsagesRequiringNonNullValues
DerefFinder. getAnalysis(ClassContext classContext, org.apache.bcel.classfile.Method method)
static NullnessAnnotation
DerefFinder. getMethodNullnessAnnotation(ClassContext classContext, org.apache.bcel.classfile.Method method)
Constructors in edu.umd.cs.findbugs.ba.npe with parameters of type ClassContext Constructor Description NullDerefAndRedundantComparisonFinder(ClassContext classContext, org.apache.bcel.classfile.Method method, NullDerefAndRedundantComparisonCollector collector)
Constructor. -
Uses of ClassContext in edu.umd.cs.findbugs.ba.vna
Methods in edu.umd.cs.findbugs.ba.vna with parameters of type ClassContext Modifier and Type Method Description static BugAnnotation
ValueNumberSourceInfo. getFromValueNumber(ClassContext classContext, org.apache.bcel.classfile.Method method, Location location, int stackPos)
-
Uses of ClassContext in edu.umd.cs.findbugs.bcel
Fields in edu.umd.cs.findbugs.bcel declared as ClassContext Modifier and Type Field Description private ClassContext
AnnotationDetector. classContext
protected ClassContext
CFGDetector. classContext
private ClassContext
PreorderDetector. classContext
Methods in edu.umd.cs.findbugs.bcel that return ClassContext Modifier and Type Method Description ClassContext
AnnotationDetector. getClassContext()
Get the ClassContext of the class currently being visited.ClassContext
PreorderDetector. getClassContext()
Get the ClassContext of the class currently being visited.Methods in edu.umd.cs.findbugs.bcel with parameters of type ClassContext Modifier and Type Method Description void
AnnotationDetector. visitClassContext(ClassContext classContext)
void
PreorderDetector. visitClassContext(ClassContext classContext)
-
Uses of ClassContext in edu.umd.cs.findbugs.classfile.engine.bcel
Methods in edu.umd.cs.findbugs.classfile.engine.bcel that return ClassContext Modifier and Type Method Description ClassContext
ClassContextClassAnalysisEngine. analyze(IAnalysisCache analysisCache, ClassDescriptor descriptor)
-
Uses of ClassContext in edu.umd.cs.findbugs.classfile.impl
Methods in edu.umd.cs.findbugs.classfile.impl with parameters of type ClassContext Modifier and Type Method Description private <E> E
AnalysisCache. analyzeMethod(ClassContext classContext, java.lang.Class<E> analysisClass, MethodDescriptor methodDescriptor)
Analyze a method. -
Uses of ClassContext in edu.umd.cs.findbugs.detect
Fields in edu.umd.cs.findbugs.detect declared as ClassContext Modifier and Type Field Description (package private) ClassContext
DontCatchIllegalMonitorStateException. classContext
private ClassContext
DroppedException. classContext
private ClassContext
DuplicateBranches. classContext
private ClassContext
FindNullDeref. classContext
private ClassContext
FindRefComparison. classContext
(package private) ClassContext
FindSqlInjection. classContext
(package private) ClassContext
FindUselessObjects.UselessValuesContext. classContext
private ClassContext
NoiseNullDeref. classContext
Methods in edu.umd.cs.findbugs.detect with parameters of type ClassContext Modifier and Type Method Description private void
BuildNonnullReturnDatabase. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)
private void
BuildUnconditionalParamDerefDatabase. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)
private void
CallToUnconditionalThrower. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)
private void
CallToUnsupportedMethod. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)
private void
CheckCalls. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)
private void
DontIgnoreResultOfPutIfAbsent. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)
private void
DumbMethodInvocations. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)
private void
FindBadCast2. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)
private void
FindDeadLocalStores. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)
private void
FindInconsistentSync2. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method, java.util.Set<org.apache.bcel.classfile.Method> lockedMethodSet)
private void
FindJSR166LockMonitorenter. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)
private void
FindMismatchedWaitOrNotify. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)
private void
FindNonSerializableStoreIntoSession. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)
private void
FindNonSerializableValuePassedToWriteObject. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)
private void
FindNullDeref. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)
void
FindOpenStream. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method, StreamResourceTracker resourceTracker, ResourceCollection<Stream> resourceCollection)
private void
FindRefComparison. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)
private void
FindSelfComparison2. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)
private void
FindSleepWithLockHeld. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)
private void
FindSqlInjection. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)
private void
FindTwoLockWait. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)
private void
FindUnrelatedTypesInGenericContainer. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)
private void
FindUselessObjects. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)
private void
FindUseOfNonSerializableValue. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)
private void
LoadOfKnownNullValue. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)
private void
NoiseNullDeref. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)
private void
TrainFieldStoreTypes. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)
private void
ViewCFG. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method, java.nio.file.Path classDir)
private void
FindUncalledPrivateMethods. checkForNestedAccess(ClassContext classContext, org.apache.bcel.classfile.JavaClass javaClass)
private void
FindSelfComparison2. checkForSelfOperation(ClassContext classContext, Location location, ValueNumberDataflow valueNumberDataflow, java.lang.String op, org.apache.bcel.classfile.Method method, org.apache.bcel.generic.MethodGen methodGen, java.lang.String sourceFile)
private void
BuildNonnullReturnDatabase. considerMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)
private void
BuildUnconditionalParamDerefDatabase. considerMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)
private static java.util.Set<org.apache.bcel.classfile.Method>
FindInconsistentSync2. findLockedMethods(ClassContext classContext, SelfCalls selfCalls, java.util.Set<CallSite> obviouslyLockedSites)
Find methods that appear to always be called from a locked context.private static java.util.Set<org.apache.bcel.classfile.Method>
FindInconsistentSync2. findNotUnlockedMethods(ClassContext classContext, SelfCalls selfCalls, java.util.Set<CallSite> obviouslyLockedSites)
Find methods that appear to never be called from an unlocked context We assume that nonpublic methods will only be called from within the class, which is not really a valid assumption.private static java.util.Set<CallSite>
FindInconsistentSync2. findObviouslyLockedCallSites(ClassContext classContext, SelfCalls selfCalls)
Find all self-call sites that are obviously locked.private java.util.Set<ValueNumber>
FindBadCast2. getParameterValueNumbers(ClassContext classContext, org.apache.bcel.classfile.Method method, CFG cfg)
StreamResourceTracker
FindOpenStream. getResourceTracker(ClassContext classContext, org.apache.bcel.classfile.Method method)
FindUnreleasedLock.LockResourceTracker
FindUnreleasedLock. getResourceTracker(ClassContext classContext, org.apache.bcel.classfile.Method method)
private FindSqlInjection.StringAppendState
FindSqlInjection. getStringAppendState(ClassContext ctx, CFG cfg, org.apache.bcel.generic.ConstantPoolGen cpg)
void
FindOpenStream. inspectResult(ClassContext classContext, org.apache.bcel.generic.MethodGen methodGen, CFG cfg, Dataflow<ResourceValueFrame,ResourceValueAnalysis<Stream>> dataflow, Stream stream)
void
FindUnreleasedLock. inspectResult(ClassContext classContext, org.apache.bcel.generic.MethodGen methodGen, CFG cfg, Dataflow<ResourceValueFrame,ResourceValueAnalysis<Lock>> dataflow, Lock resource)
boolean
BuildUnconditionalParamDerefDatabase. isCaught(ClassContext classContext, org.apache.bcel.classfile.Method method, UnconditionalValueDerefSet entryFact, ValueNumber paramVN)
static boolean
FindInconsistentSync2. isGetterMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)
Determine whether or not the given method is a getter method.private boolean
LoadOfKnownNullValue. isNullTestedClose(ClassContext classContext, org.apache.bcel.generic.ALOAD load, org.apache.bcel.generic.InstructionHandle nextHandle, org.apache.bcel.generic.Instruction next)
boolean
FindBadCast2. prescreen(ClassContext classContext, org.apache.bcel.classfile.Method method)
private boolean
FindDeadLocalStores. prescreen(ClassContext classContext, org.apache.bcel.classfile.Method method)
boolean
FindOpenStream. prescreen(ClassContext classContext, org.apache.bcel.classfile.Method method, boolean mightClose)
private boolean
FindSleepWithLockHeld. prescreen(ClassContext classContext, org.apache.bcel.classfile.Method method)
boolean
FindUnrelatedTypesInGenericContainer. prescreen(ClassContext classContext, org.apache.bcel.classfile.Method method)
Use this to screen out methods that do not contain invocations.boolean
FindUnreleasedLock. prescreen(ClassContext classContext, org.apache.bcel.classfile.Method method, boolean mightClose)
boolean
LazyInit. prescreen(org.apache.bcel.classfile.Method method, ClassContext classContext)
private void
FindRefComparison. reportBest(ClassContext classContext, org.apache.bcel.classfile.Method method, java.util.LinkedList<FindRefComparison.WarningWithProperties> warningList, boolean relaxed)
void
LazyInit. reportMatch(ClassContext classContext, org.apache.bcel.classfile.Method method, ByteCodePatternMatch match)
private FindSqlInjection.StringAppendState
FindSqlInjection. updateJava9AndAboveStringAppendState(ClassContext ctx, Location location, org.apache.bcel.generic.ConstantPoolGen cpg, FindSqlInjection.StringAppendState stringAppendState)
void
AppendingToAnObjectOutputStream. visitClassContext(ClassContext classContext)
void
AtomicityProblem. visitClassContext(ClassContext classContext)
void
BadAppletConstructor. visitClassContext(ClassContext classContext)
void
BadResultSetAccess. visitClassContext(ClassContext classContext)
void
BuildInterproceduralCallGraph. visitClassContext(ClassContext classContext)
void
BuildNonnullReturnDatabase. visitClassContext(ClassContext classContext)
void
BuildUnconditionalParamDerefDatabase. visitClassContext(ClassContext classContext)
void
CallToUnconditionalThrower. visitClassContext(ClassContext classContext)
void
CallToUnsupportedMethod. visitClassContext(ClassContext classContext)
void
CheckCalls. visitClassContext(ClassContext classContext)
void
CheckImmutableAnnotation. visitClassContext(ClassContext classContext)
void
CloneIdiom. visitClassContext(ClassContext classContext)
void
ComparatorIdiom. visitClassContext(ClassContext classContext)
void
ConfusedInheritance. visitClassContext(ClassContext classContext)
void
DontCatchIllegalMonitorStateException. visitClassContext(ClassContext classContext)
void
DontIgnoreResultOfPutIfAbsent. visitClassContext(ClassContext classContext)
void
DontReusePublicIdentifiers. visitClassContext(ClassContext classContext)
void
DroppedException. visitClassContext(ClassContext classContext)
void
DumbMethodInvocations. visitClassContext(ClassContext classContext)
void
DuplicateBranches. visitClassContext(ClassContext classContext)
void
FindArgumentAssertions. visitClassContext(ClassContext classContext)
Only interested in public classesvoid
FindBadCast2. visitClassContext(ClassContext classContext)
void
FindBugsSummaryStats. visitClassContext(ClassContext classContext)
void
FindComparatorProblems. visitClassContext(ClassContext classContext)
void
FindDeadLocalStores. visitClassContext(ClassContext classContext)
void
FindInconsistentSync2. visitClassContext(ClassContext classContext)
void
FindJSR166LockMonitorenter. visitClassContext(ClassContext classContext)
void
FindMaskedFields. visitClassContext(ClassContext classContext)
void
FindMismatchedWaitOrNotify. visitClassContext(ClassContext classContext)
void
FindNonSerializableStoreIntoSession. visitClassContext(ClassContext classContext)
void
FindNonSerializableValuePassedToWriteObject. visitClassContext(ClassContext classContext)
void
FindNullDeref. visitClassContext(ClassContext classContext)
void
FindOpenStream. visitClassContext(ClassContext classContext)
void
FindRefComparison. visitClassContext(ClassContext classContext)
void
FindRoughConstants. visitClassContext(ClassContext classContext)
void
FindSelfComparison2. visitClassContext(ClassContext classContext)
void
FindSleepWithLockHeld. visitClassContext(ClassContext classContext)
void
FindSqlInjection. visitClassContext(ClassContext classContext)
void
FindTwoLockWait. visitClassContext(ClassContext classContext)
void
FindUncalledPrivateMethods. visitClassContext(ClassContext classContext)
void
FindUnrelatedTypesInGenericContainer. visitClassContext(ClassContext classContext)
Visit the class contextvoid
FindUnreleasedLock. visitClassContext(ClassContext classContext)
void
FindUselessObjects. visitClassContext(ClassContext classContext)
void
FindUseOfNonSerializableValue. visitClassContext(ClassContext classContext)
void
FindVulnerableSecurityCheckMethods. visitClassContext(ClassContext classContext)
Only interested in non-final classesvoid
InconsistentAnnotations. visitClassContext(ClassContext classContext)
void
InefficientIndexOf. visitClassContext(ClassContext classContext)
void
InefficientInitializationInsideLoop. visitClassContext(ClassContext classContext)
void
InefficientMemberAccess. visitClassContext(ClassContext classContext)
void
InefficientToArray. visitClassContext(ClassContext classContext)
void
IntCast2LongAsInstant. visitClassContext(ClassContext classContext)
void
InvalidJUnitTest. visitClassContext(ClassContext classContext)
void
IteratorIdioms. visitClassContext(ClassContext classContext)
void
LoadOfKnownNullValue. visitClassContext(ClassContext classContext)
void
LostLoggerDueToWeakReference. visitClassContext(ClassContext classContext)
void
MethodReturnCheck. visitClassContext(ClassContext classContext)
void
Methods. visitClassContext(ClassContext classContext)
void
MultithreadedInstanceAccess. visitClassContext(ClassContext classContext)
void
MutableEnum. visitClassContext(ClassContext classContext)
void
Naming. visitClassContext(ClassContext classContext)
void
NoiseNullDeref. visitClassContext(ClassContext classContext)
void
NoteAnnotationRetention. visitClassContext(ClassContext classContext)
void
NoteCheckReturnValueAnnotations. visitClassContext(ClassContext classContext)
void
NoteDirectlyRelevantTypeQualifiers. visitClassContext(ClassContext classContext)
void
NoteJCIPAnnotation. visitClassContext(ClassContext classContext)
void
NoteNonNullAnnotations. visitClassContext(ClassContext classContext)
Deprecated.void
NoteSuppressedWarnings. visitClassContext(ClassContext classContext)
void
NumberConstructor. visitClassContext(ClassContext classContext)
The detector is only meaningful for Java5 class libraries.void
PublicSemaphores. visitClassContext(ClassContext classContext)
void
RedundantConditions. visitClassContext(ClassContext classContext)
void
RedundantInterfaces. visitClassContext(ClassContext classContext)
void
ResolveAllReferences. visitClassContext(ClassContext classContext)
void
SerializableIdiom. visitClassContext(ClassContext classContext)
void
SuspiciousThreadInterrupted. visitClassContext(ClassContext classContext)
void
SwitchFallthrough. visitClassContext(ClassContext classContext)
void
TrainFieldStoreTypes. visitClassContext(ClassContext classContext)
void
TrainLongInstantfParams. visitClassContext(ClassContext classContext)
void
TrainNonNullAnnotations. visitClassContext(ClassContext classContext)
Deprecated.void
UnnecessaryMath. visitClassContext(ClassContext classContext)
void
URLProblems. visitClassContext(ClassContext classContext)
void
UselessSubclassMethod. visitClassContext(ClassContext classContext)
void
ViewCFG. visitClassContext(ClassContext classContext)
void
VolatileUsage. visitClassContext(ClassContext classContext)
void
WrongMapIterator. visitClassContext(ClassContext classContext)
void
XMLFactoryBypass. visitClassContext(ClassContext classContext)
void
FindTwoLockWait. visitLocation(ClassContext classContext, Location location, org.apache.bcel.generic.MethodGen methodGen, LockDataflow dataflow)
Constructors in edu.umd.cs.findbugs.detect with parameters of type ClassContext Constructor Description UselessValuesContext(ClassContext classContext, org.apache.bcel.classfile.Method method)
-
Uses of ClassContext in edu.umd.cs.findbugs.props
Methods in edu.umd.cs.findbugs.props with parameters of type ClassContext Modifier and Type Method Description static void
WarningPropertyUtil. addPropertiesForDataMining(WarningPropertySet<WarningProperty> propertySet, ClassContext classContext, org.apache.bcel.classfile.Method method, Location location)
Add all relevant general warning properties to the given property set for the given Location.static void
WarningPropertyUtil. addPropertiesForLocation(WarningPropertySet<WarningProperty> propertySet, ClassContext classContext, org.apache.bcel.classfile.Method method, int pc)
Add all relevant general warning properties to the given property set for the given Location.private static void
WarningPropertyUtil. addReceiverObjectType(WarningPropertySet<WarningProperty> propertySet, ClassContext classContext, org.apache.bcel.classfile.Method method, Location location)
Add a RECEIVER_OBJECT_TYPE warning property for a particular location in a method to given warning property set.private static void
WarningPropertyUtil. addRecentlyCalledMethods(WarningPropertySet<WarningProperty> propertySet, ClassContext classContext, org.apache.bcel.classfile.Method method, Location location)
Add CALLED_METHOD_n warning properties based on methods which have been called and returned normally at given Location.private static Location
WarningPropertyUtil. pcToLocation(ClassContext classContext, org.apache.bcel.classfile.Method method, int pc)
Get a Location matching the given PC value.
-