Uses of Class
edu.umd.cs.findbugs.ba.ClassContext
Packages that use ClassContext
Package
Description
Main package for the FindBugs application - contains the engine class
(
FindBugs), the object model classes for bug
instances (BugInstance,
BugAnnotation), and other miscellany.A bytecode analysis framework for BCEL, providing CFG construction, generic
dataflow analysis, and a variety of specific dataflow analyses.
Support for analyses based on the BCEL bytecode framework.
Implementations of the interfaces in the edu.umd.cs.findbugs.classfile
package: the core classes of the FindBugs classfile/classpath support
layer.
-
Uses of ClassContext in edu.umd.cs.findbugs
Fields in edu.umd.cs.findbugs declared as ClassContextModifier and TypeFieldDescriptionprivate ClassContextBytecodeScanningDetector.classContextprivate final ClassContextSelfCalls.classContextMethods in edu.umd.cs.findbugs that return ClassContextModifier and TypeMethodDescriptionBytecodeScanningDetector.getClassContext()Get the ClassContext of the class currently being visited.Methods in edu.umd.cs.findbugs with parameters of type ClassContextModifier and TypeMethodDescriptionvoidBugAccumulator.accumulateBug(BugInstance bug, ClassContext classContext, org.apache.bcel.classfile.Method method, Location location) voidBugAccumulator.accumulateBug(BugInstance bug, ClassContext classContext, org.apache.bcel.generic.MethodGen methodGen, String sourceFile, Location location) BugInstance.addSomeSourceForTopTwoStackValues(ClassContext classContext, org.apache.bcel.classfile.Method method, Location location) BugInstance.addSourceForTopStackValue(ClassContext classContext, org.apache.bcel.classfile.Method method, Location location) @NonNull BugInstanceBugInstance.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.@NonNull BugInstanceBugInstance.addSourceLine(ClassContext classContext, org.apache.bcel.classfile.Method method, Location location) Add source line annotation for given Location in a method.@NonNull BugInstanceBugInstance.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.@NonNull BugInstanceBugInstance.addSourceLine(ClassContext classContext, org.apache.bcel.generic.MethodGen methodGen, String sourceFile, @NonNull org.apache.bcel.generic.InstructionHandle handle) Add a source line annotation for the given instruction in the given method.@NonNull BugInstanceBugInstance.addSourceLine(ClassContext classContext, org.apache.bcel.generic.MethodGen methodGen, String sourceFile, org.apache.bcel.generic.InstructionHandle start, org.apache.bcel.generic.InstructionHandle end) Add a source line annotation describing a range of instructions.@NonNull BugInstanceBugInstance.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.voidResourceTrackingDetector.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 @Nullable LocalVariableAnnotationLocalVariableAnnotation.findMatchingIgnoredParameter(ClassContext classContext, org.apache.bcel.classfile.Method method, String name, String signature) static @Nullable LocalVariableAnnotationLocalVariableAnnotation.findUniqueBestMatchingParameter(ClassContext classContext, org.apache.bcel.classfile.Method method, String name, String signature) static SourceLineAnnotationSourceLineAnnotation.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 SourceLineAnnotationSourceLineAnnotation.fromVisitedInstruction(ClassContext classContext, org.apache.bcel.classfile.Method method, int pc) Create from Method and bytecode offset in a visited class.static SourceLineAnnotationSourceLineAnnotation.fromVisitedInstruction(ClassContext classContext, org.apache.bcel.classfile.Method method, Location loc) Create from Method and Location in a visited class.static SourceLineAnnotationSourceLineAnnotation.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 @NonNull SourceLineAnnotationSourceLineAnnotation.fromVisitedInstruction(ClassContext classContext, org.apache.bcel.generic.MethodGen methodGen, String sourceFile, @NonNull org.apache.bcel.generic.InstructionHandle handle) Factory method for creating a source line annotation describing the source line number for a visited instruction.static @NonNull SourceLineAnnotationSourceLineAnnotation.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 SourceLineAnnotationSourceLineAnnotation.fromVisitedInstructionRange(ClassContext classContext, org.apache.bcel.generic.MethodGen methodGen, 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 ResourceTrackerTypeResourceTrackingDetector.getResourceTracker(ClassContext classContext, org.apache.bcel.classfile.Method method) static @Nullable BugAnnotationBugInstance.getSomeSource(ClassContext classContext, org.apache.bcel.classfile.Method method, Location location, OpcodeStack stack, int stackPos) static @Nullable BugAnnotationBugInstance.getSourceForStackValue(ClassContext classContext, org.apache.bcel.classfile.Method method, Location location, int depth) static @Nullable BugAnnotationBugInstance.getSourceForTopStackValue(ClassContext classContext, org.apache.bcel.classfile.Method method, Location location) abstract voidResourceTrackingDetector.inspectResult(ClassContext classContext, org.apache.bcel.generic.MethodGen methodGen, CFG cfg, Dataflow<ResourceValueFrame, ResourceValueAnalysis<Resource>> dataflow, Resource resource) private booleanResourceTrackingDetector.mightCloseResource(ClassContext classContext, org.apache.bcel.classfile.Method method, ResourceTrackerType resourceTracker) abstract booleanByteCodePatternDetector.prescreen(org.apache.bcel.classfile.Method method, ClassContext classContext) Prescreen a method.abstract booleanResourceTrackingDetector.prescreen(ClassContext classContext, org.apache.bcel.classfile.Method method, boolean mightClose) abstract voidByteCodePatternDetector.reportMatch(ClassContext classContext, org.apache.bcel.classfile.Method method, ByteCodePatternMatch match) Called to report an instance of the ByteCodePattern.voidByteCodePatternDetector.visitClassContext(ClassContext classContext) voidBytecodeScanningDetector.visitClassContext(ClassContext classContext) voidDetector.visitClassContext(ClassContext classContext) Visit the ClassContext for a class which should be analyzed for instances of bug patterns.voidResourceTrackingDetector.visitClassContext(ClassContext classContext) Constructors in edu.umd.cs.findbugs with parameters of type ClassContext -
Uses of ClassContext in edu.umd.cs.findbugs.ba
Methods in edu.umd.cs.findbugs.ba that return ClassContextModifier and TypeMethodDescriptionAnalysisContext.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 ClassContextModifierConstructorDescriptionPatternMatcher(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 ClassContextModifier and TypeFieldDescriptionprivate final ClassContextNullDerefAndRedundantComparisonFinder.classContextMethods in edu.umd.cs.findbugs.ba.npe with parameters of type ClassContextModifier and TypeMethodDescriptionstatic UsagesRequiringNonNullValuesDerefFinder.getAnalysis(ClassContext classContext, org.apache.bcel.classfile.Method method) static NullnessAnnotationDerefFinder.getMethodNullnessAnnotation(ClassContext classContext, org.apache.bcel.classfile.Method method) Constructors in edu.umd.cs.findbugs.ba.npe with parameters of type ClassContextModifierConstructorDescriptionNullDerefAndRedundantComparisonFinder(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 ClassContextModifier and TypeMethodDescriptionstatic @Nullable BugAnnotationValueNumberSourceInfo.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 ClassContextModifier and TypeFieldDescriptionprivate ClassContextAnnotationDetector.classContextprotected ClassContextCFGDetector.classContextprivate ClassContextPreorderDetector.classContextMethods in edu.umd.cs.findbugs.bcel that return ClassContextModifier and TypeMethodDescriptionAnnotationDetector.getClassContext()Get the ClassContext of the class currently being visited.PreorderDetector.getClassContext()Get the ClassContext of the class currently being visited.Methods in edu.umd.cs.findbugs.bcel with parameters of type ClassContextModifier and TypeMethodDescriptionvoidAnnotationDetector.visitClassContext(ClassContext classContext) voidPreorderDetector.visitClassContext(ClassContext classContext) -
Uses of ClassContext in edu.umd.cs.findbugs.classfile.engine.bcel
Subclasses with type arguments of type ClassContext in edu.umd.cs.findbugs.classfile.engine.bcelModifier and TypeClassDescriptionclassAdapter to produce the ClassContext for a given class.Methods in edu.umd.cs.findbugs.classfile.engine.bcel that return ClassContextModifier and TypeMethodDescriptionClassContextClassAnalysisEngine.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 ClassContextModifier and TypeMethodDescriptionprivate <E> EAnalysisCache.analyzeMethod(ClassContext classContext, 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 ClassContextModifier and TypeFieldDescription(package private) ClassContextDontCatchIllegalMonitorStateException.classContextprivate ClassContextDroppedException.classContextprivate ClassContextDuplicateBranches.classContextprivate ClassContextFindNullDeref.classContextprivate ClassContextFindRefComparison.classContext(package private) ClassContextFindSqlInjection.classContext(package private) ClassContextFindUselessObjects.UselessValuesContext.classContextprivate ClassContextNoiseNullDeref.classContextMethods in edu.umd.cs.findbugs.detect with parameters of type ClassContextModifier and TypeMethodDescriptionprivate voidFindImproperSynchronization.analyzeAssignments(org.apache.bcel.classfile.Method obj, ClassContext classContext) private voidFindImproperSynchronization.analyzeAssignments(org.apache.bcel.classfile.Method obj, ClassContext classContext, XField specificField) private voidBuildNonnullReturnDatabase.analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method) private voidBuildUnconditionalParamDerefDatabase.analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method) private voidCallToUnconditionalThrower.analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method) private voidCallToUnsupportedMethod.analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method) private voidCheckCalls.analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method) private voidDontIgnoreResultOfPutIfAbsent.analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method) private voidDumbMethodInvocations.analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method) private voidFindBadCast2.analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method) private voidFindDeadLocalStores.analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method) private voidFindInconsistentSync2.analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method, Set<org.apache.bcel.classfile.Method> lockedMethodSet) private voidFindJSR166LockMonitorenter.analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method) private voidFindMismatchedWaitOrNotify.analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method) private voidFindNonSerializableStoreIntoSession.analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method) private voidFindNonSerializableValuePassedToWriteObject.analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method) private voidFindNullDeref.analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method) voidFindOpenStream.analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method, StreamResourceTracker resourceTracker, ResourceCollection<Stream> resourceCollection) private voidFindRefComparison.analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method) private voidFindSelfComparison2.analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method) private voidFindSleepWithLockHeld.analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method) private voidFindSqlInjection.analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method) private voidFindTwoLockWait.analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method) private voidFindUnrelatedTypesInGenericContainer.analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method) private voidFindUselessObjects.analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method) private voidFindUseOfNonSerializableValue.analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method) private voidLoadOfKnownNullValue.analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method) private voidNoiseNullDeref.analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method) private voidTrainFieldStoreTypes.analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method) private voidViewCFG.analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method, PrintStream out) private voidFindImproperSynchronization.analyzeWrappedField(org.apache.bcel.classfile.Method currentMethod, ClassContext classContext, Location location, org.apache.bcel.generic.InstructionHandle handle, XField assignedField, Integer stackOffsetForWrapperMethodParameter) Analyze a wrapping method call and check if this the creation of a binding collection.private voidFindUncalledPrivateMethods.checkForNestedAccess(ClassContext classContext, org.apache.bcel.classfile.JavaClass javaClass) private voidFindSelfComparison2.checkForSelfOperation(ClassContext classContext, Location location, ValueNumberDataflow valueNumberDataflow, String op, org.apache.bcel.classfile.Method method, org.apache.bcel.generic.MethodGen methodGen, String sourceFile) private voidBuildNonnullReturnDatabase.considerMethod(ClassContext classContext, org.apache.bcel.classfile.Method method) private voidBuildUnconditionalParamDerefDatabase.considerMethod(ClassContext classContext, org.apache.bcel.classfile.Method method) private static Set<org.apache.bcel.classfile.Method> FindInconsistentSync2.findLockedMethods(ClassContext classContext, SelfCalls selfCalls, Set<CallSite> obviouslyLockedSites) Find methods that appear to always be called from a locked context.private static Set<org.apache.bcel.classfile.Method> FindInconsistentSync2.findNotUnlockedMethods(ClassContext classContext, SelfCalls selfCalls, 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.FindInconsistentSync2.findObviouslyLockedCallSites(ClassContext classContext, SelfCalls selfCalls) Find all self-call sites that are obviously locked.private Set<ValueNumber> FindBadCast2.getParameterValueNumbers(ClassContext classContext, org.apache.bcel.classfile.Method method, CFG cfg) FindOpenStream.getResourceTracker(ClassContext classContext, org.apache.bcel.classfile.Method method) FindUnreleasedLock.getResourceTracker(ClassContext classContext, org.apache.bcel.classfile.Method method) FindSqlInjection.getStringAppendState(ClassContext ctx, CFG cfg, org.apache.bcel.generic.ConstantPoolGen cpg) voidFindOpenStream.inspectResult(ClassContext classContext, org.apache.bcel.generic.MethodGen methodGen, CFG cfg, Dataflow<ResourceValueFrame, ResourceValueAnalysis<Stream>> dataflow, Stream stream) voidFindUnreleasedLock.inspectResult(ClassContext classContext, org.apache.bcel.generic.MethodGen methodGen, CFG cfg, Dataflow<ResourceValueFrame, ResourceValueAnalysis<Lock>> dataflow, Lock resource) booleanBuildUnconditionalParamDerefDatabase.isCaught(ClassContext classContext, org.apache.bcel.classfile.Method method, UnconditionalValueDerefSet entryFact, ValueNumber paramVN) static booleanFindInconsistentSync2.isGetterMethod(ClassContext classContext, org.apache.bcel.classfile.Method method) Determine whether or not the given method is a getter method.private booleanLoadOfKnownNullValue.isNullTestedClose(ClassContext classContext, org.apache.bcel.generic.ALOAD load, org.apache.bcel.generic.InstructionHandle nextHandle, org.apache.bcel.generic.Instruction next) booleanFindBadCast2.prescreen(ClassContext classContext, org.apache.bcel.classfile.Method method) private booleanFindDeadLocalStores.prescreen(ClassContext classContext, org.apache.bcel.classfile.Method method) booleanFindOpenStream.prescreen(ClassContext classContext, org.apache.bcel.classfile.Method method, boolean mightClose) private booleanFindSleepWithLockHeld.prescreen(ClassContext classContext, org.apache.bcel.classfile.Method method) booleanFindUnrelatedTypesInGenericContainer.prescreen(ClassContext classContext, org.apache.bcel.classfile.Method method) Use this to screen out methods that do not contain invocations.booleanFindUnreleasedLock.prescreen(ClassContext classContext, org.apache.bcel.classfile.Method method, boolean mightClose) booleanLazyInit.prescreen(org.apache.bcel.classfile.Method method, ClassContext classContext) private voidFindRefComparison.reportBest(ClassContext classContext, org.apache.bcel.classfile.Method method, LinkedList<FindRefComparison.WarningWithProperties> warningList, boolean relaxed) voidLazyInit.reportMatch(ClassContext classContext, org.apache.bcel.classfile.Method method, ByteCodePatternMatch match) FindSqlInjection.updateJava9AndAboveStringAppendState(ClassContext ctx, Location location, org.apache.bcel.generic.ConstantPoolGen cpg, FindSqlInjection.StringAppendState stringAppendState) voidAppendingToAnObjectOutputStream.visitClassContext(ClassContext classContext) voidAtomicityProblem.visitClassContext(ClassContext classContext) voidBadAppletConstructor.visitClassContext(ClassContext classContext) voidBadResultSetAccess.visitClassContext(ClassContext classContext) voidBuildInterproceduralCallGraph.visitClassContext(ClassContext classContext) voidBuildNonnullReturnDatabase.visitClassContext(ClassContext classContext) voidBuildUnconditionalParamDerefDatabase.visitClassContext(ClassContext classContext) voidCallToUnconditionalThrower.visitClassContext(ClassContext classContext) voidCallToUnsupportedMethod.visitClassContext(ClassContext classContext) voidCheckCalls.visitClassContext(ClassContext classContext) voidCheckImmutableAnnotation.visitClassContext(ClassContext classContext) voidCloneIdiom.visitClassContext(ClassContext classContext) voidComparatorIdiom.visitClassContext(ClassContext classContext) voidConfusedInheritance.visitClassContext(ClassContext classContext) voidDontCatchIllegalMonitorStateException.visitClassContext(ClassContext classContext) voidDontIgnoreResultOfPutIfAbsent.visitClassContext(ClassContext classContext) voidDontReusePublicIdentifiers.visitClassContext(ClassContext classContext) voidDroppedException.visitClassContext(ClassContext classContext) voidDumbMethodInvocations.visitClassContext(ClassContext classContext) voidDuplicateBranches.visitClassContext(ClassContext classContext) voidFindArgumentAssertions.visitClassContext(ClassContext classContext) Only interested in public classesvoidFindBadCast2.visitClassContext(ClassContext classContext) voidFindBugsSummaryStats.visitClassContext(ClassContext classContext) voidFindComparatorProblems.visitClassContext(ClassContext classContext) voidFindDeadLocalStores.visitClassContext(ClassContext classContext) voidFindHiddenMethod.visitClassContext(ClassContext classContext) voidFindInconsistentSync2.visitClassContext(ClassContext classContext) voidFindIncreasedAccessibilityOfMethods.visitClassContext(ClassContext classContext) voidFindJSR166LockMonitorenter.visitClassContext(ClassContext classContext) voidFindMaskedFields.visitClassContext(ClassContext classContext) voidFindMismatchedWaitOrNotify.visitClassContext(ClassContext classContext) voidFindNonSerializableStoreIntoSession.visitClassContext(ClassContext classContext) voidFindNonSerializableValuePassedToWriteObject.visitClassContext(ClassContext classContext) voidFindNullDeref.visitClassContext(ClassContext classContext) voidFindOpenStream.visitClassContext(ClassContext classContext) voidFindRefComparison.visitClassContext(ClassContext classContext) voidFindRoughConstants.visitClassContext(ClassContext classContext) voidFindSelfComparison2.visitClassContext(ClassContext classContext) voidFindSleepWithLockHeld.visitClassContext(ClassContext classContext) voidFindSqlInjection.visitClassContext(ClassContext classContext) voidFindTwoLockWait.visitClassContext(ClassContext classContext) voidFindUncalledPrivateMethods.visitClassContext(ClassContext classContext) voidFindUnrelatedTypesInGenericContainer.visitClassContext(ClassContext classContext) Visit the class contextvoidFindUnreleasedLock.visitClassContext(ClassContext classContext) voidFindUselessObjects.visitClassContext(ClassContext classContext) voidFindUseOfNonSerializableValue.visitClassContext(ClassContext classContext) voidFindVulnerableSecurityCheckMethods.visitClassContext(ClassContext classContext) Only interested in non-final classesvoidInconsistentAnnotations.visitClassContext(ClassContext classContext) voidInefficientIndexOf.visitClassContext(ClassContext classContext) voidInefficientInitializationInsideLoop.visitClassContext(ClassContext classContext) voidInefficientMemberAccess.visitClassContext(ClassContext classContext) voidInefficientToArray.visitClassContext(ClassContext classContext) voidIntCast2LongAsInstant.visitClassContext(ClassContext classContext) voidInvalidJUnitTest.visitClassContext(ClassContext classContext) voidIteratorIdioms.visitClassContext(ClassContext classContext) voidLoadOfKnownNullValue.visitClassContext(ClassContext classContext) voidLostLoggerDueToWeakReference.visitClassContext(ClassContext classContext) voidMethodReturnCheck.visitClassContext(ClassContext classContext) voidMethods.visitClassContext(ClassContext classContext) voidMultithreadedInstanceAccess.visitClassContext(ClassContext classContext) voidMutableEnum.visitClassContext(ClassContext classContext) voidNaming.visitClassContext(ClassContext classContext) voidNoiseNullDeref.visitClassContext(ClassContext classContext) voidNoteAnnotationRetention.visitClassContext(ClassContext classContext) voidNoteCheckReturnValueAnnotations.visitClassContext(ClassContext classContext) voidNoteDirectlyRelevantTypeQualifiers.visitClassContext(ClassContext classContext) voidNoteJCIPAnnotation.visitClassContext(ClassContext classContext) voidNoteNonNullAnnotations.visitClassContext(ClassContext classContext) Deprecated.voidNoteSuppressedWarnings.visitClassContext(ClassContext classContext) voidNumberConstructor.visitClassContext(ClassContext classContext) The detector is only meaningful for Java5 class libraries.voidPublicSemaphores.visitClassContext(ClassContext classContext) voidRedundantConditions.visitClassContext(ClassContext classContext) voidRedundantInterfaces.visitClassContext(ClassContext classContext) voidResolveAllReferences.visitClassContext(ClassContext classContext) voidSerializableIdiom.visitClassContext(ClassContext classContext) voidSharedVariableAtomicityDetector.visitClassContext(ClassContext classContext) voidSuspiciousThreadInterrupted.visitClassContext(ClassContext classContext) voidSwitchFallthrough.visitClassContext(ClassContext classContext) voidTrainFieldStoreTypes.visitClassContext(ClassContext classContext) voidTrainLongInstantfParams.visitClassContext(ClassContext classContext) voidTrainNonNullAnnotations.visitClassContext(ClassContext classContext) Deprecated.voidUnnecessaryMath.visitClassContext(ClassContext classContext) voidURLProblems.visitClassContext(ClassContext classContext) voidUselessSubclassMethod.visitClassContext(ClassContext classContext) voidViewCFG.visitClassContext(ClassContext classContext) voidVolatileUsage.visitClassContext(ClassContext classContext) voidWrongMapIterator.visitClassContext(ClassContext classContext) voidXMLFactoryBypass.visitClassContext(ClassContext classContext) voidFindTwoLockWait.visitLocation(ClassContext classContext, Location location, org.apache.bcel.generic.MethodGen methodGen, LockDataflow dataflow) Constructors in edu.umd.cs.findbugs.detect with parameters of type ClassContextModifierConstructorDescription(package private)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 ClassContextModifier and TypeMethodDescriptionstatic voidWarningPropertyUtil.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 voidWarningPropertyUtil.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 voidWarningPropertyUtil.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 voidWarningPropertyUtil.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 LocationWarningPropertyUtil.pcToLocation(ClassContext classContext, org.apache.bcel.classfile.Method method, int pc) Get a Location matching the given PC value. -
Uses of ClassContext in edu.umd.cs.findbugs.util
Methods in edu.umd.cs.findbugs.util with parameters of type ClassContextModifier and TypeMethodDescriptionprivate static booleanMultiThreadedCodeIdentifierUtils.isDirectlyPartOfMultiThreadedCode(org.apache.bcel.classfile.JavaClass javaClass, ClassContext classContext) static booleanMultiThreadedCodeIdentifierUtils.isMethodMultiThreaded(org.apache.bcel.classfile.Method method, ClassContext classContext) static booleanMultiThreadedCodeIdentifierUtils.isNotThreadSafe(ClassContext classContext) static booleanMultiThreadedCodeIdentifierUtils.isPartOfMultiThreadedCode(ClassContext classContext)