Uses of Class
edu.umd.cs.findbugs.detect.Stream
Packages that use Stream
-
Uses of Stream in edu.umd.cs.findbugs.detect
Fields in edu.umd.cs.findbugs.detect declared as StreamModifier and TypeFieldDescriptionfinal Stream
StreamEscape.source
final Stream
FindOpenStream.PotentialOpenStream.stream
private final Stream
StreamFrameModelingVisitor.stream
Fields in edu.umd.cs.findbugs.detect with type parameters of type StreamModifier and TypeFieldDescriptionStreamEquivalenceClass.memberSet
private ResourceCollection
<Stream> StreamResourceTracker.resourceCollection
private final Map
<Stream, StreamEquivalenceClass> StreamResourceTracker.streamEquivalenceMap
Map of individual streams to equivalence classes.StreamResourceTracker.streamOpenLocationMap
Map of locations where streams are opened to the actual Stream objects.StreamResourceTracker.uninterestingStreamEscapeSet
Set of all open locations and escapes of uninteresting streams.Methods in edu.umd.cs.findbugs.detect that return StreamModifier and TypeMethodDescriptionAnyMethodReturnValueStreamFactory.createStream
(Location location, org.apache.bcel.generic.ObjectType type, org.apache.bcel.generic.ConstantPoolGen cpg, RepositoryLookupFailureCallback lookupFailureCallback) InstanceFieldLoadStreamFactory.createStream
(Location location, org.apache.bcel.generic.ObjectType type, org.apache.bcel.generic.ConstantPoolGen cpg, RepositoryLookupFailureCallback lookupFailureCallback) IOStreamFactory.createStream
(Location location, org.apache.bcel.generic.ObjectType type, org.apache.bcel.generic.ConstantPoolGen cpg, RepositoryLookupFailureCallback lookupFailureCallback) MethodReturnValueStreamFactory.createStream
(Location location, org.apache.bcel.generic.ObjectType type, org.apache.bcel.generic.ConstantPoolGen cpg, RepositoryLookupFailureCallback lookupFailureCallback) StaticFieldLoadStreamFactory.createStream
(Location location, org.apache.bcel.generic.ObjectType type, org.apache.bcel.generic.ConstantPoolGen cpg, RepositoryLookupFailureCallback lookupFailureCallback) StreamFactory.createStream
(Location location, org.apache.bcel.generic.ObjectType type, org.apache.bcel.generic.ConstantPoolGen cpg, RepositoryLookupFailureCallback lookupFailureCallback) Determine if a Stream is created at given location.StreamResourceTracker.isResourceCreation
(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle handle, org.apache.bcel.generic.ConstantPoolGen cpg) Stream.setIgnoreImplicitExceptions
(boolean enable) Mark whether or not implicit exception edges should be ignored by ResourceValueAnalysis when determining whether or not stream is closed on all paths out of method.Stream.setInteresting
(String bugType) Mark this Stream as interesting.Stream.setIsOpenOnCreation
(boolean enable) Mark whether or not Stream is open as soon as it is created, or whether a later method or constructor must explicitly open it.Methods in edu.umd.cs.findbugs.detect that return types with arguments of type StreamModifier and TypeMethodDescriptionStreamEquivalenceClass.memberIterator()
Get Iterator over the members of the class.Methods in edu.umd.cs.findbugs.detect with parameters of type StreamModifier and TypeMethodDescriptionvoid
Add a single member to the equivalence class.void
StreamResourceTracker.addStreamEscape
(Stream source, Location target) Indicate that a stream escapes at the given target Location.void
StreamResourceTracker.addStreamOpenLocation
(Location streamOpenLocation, Stream stream) Indicate that a stream is constructed at this Location.int
StreamResourceTracker.createVisitor
(Stream resource, org.apache.bcel.generic.ConstantPoolGen cpg) StreamResourceTracker.getStreamEquivalenceClass
(Stream stream) Get the equivalence class for given stream.boolean
StreamResourceTracker.ignoreExceptionEdge
(Edge edge, Stream resource, org.apache.bcel.generic.ConstantPoolGen cpg) boolean
StreamResourceTracker.ignoreImplicitExceptions
(Stream resource) void
FindOpenStream.inspectResult
(ClassContext classContext, org.apache.bcel.generic.MethodGen methodGen, CFG cfg, Dataflow<ResourceValueFrame, ResourceValueAnalysis<Stream>> dataflow, Stream stream) boolean
StreamResourceTracker.isParamInstance
(Stream resource, int slot) boolean
StreamResourceTracker.isResourceClose
(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle handle, org.apache.bcel.generic.ConstantPoolGen cpg, Stream resource, ResourceValueFrame frame) boolean
StreamResourceTracker.isResourceOpen
(BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle handle, org.apache.bcel.generic.ConstantPoolGen cpg, Stream resource, ResourceValueFrame frame) boolean
StreamResourceTracker.isUninterestingStreamEscape
(Stream stream) Determine if an uninteresting stream escapes at given location.Method parameters in edu.umd.cs.findbugs.detect with type arguments of type StreamModifier and TypeMethodDescriptionvoid
FindOpenStream.analyzeMethod
(ClassContext classContext, org.apache.bcel.classfile.Method method, StreamResourceTracker resourceTracker, ResourceCollection<Stream> resourceCollection) void
FindOpenStream.inspectResult
(ClassContext classContext, org.apache.bcel.generic.MethodGen methodGen, CFG cfg, Dataflow<ResourceValueFrame, ResourceValueAnalysis<Stream>> dataflow, Stream stream) void
StreamResourceTracker.setResourceCollection
(ResourceCollection<Stream> resourceCollection) Set the precomputed ResourceCollection for the method.Constructors in edu.umd.cs.findbugs.detect with parameters of type StreamModifierConstructorDescriptionPotentialOpenStream
(String bugType, int priority, Stream stream) StreamEscape
(Stream source, Location target) Constructor.StreamFrameModelingVisitor
(org.apache.bcel.generic.ConstantPoolGen cpg, StreamResourceTracker resourceTracker, Stream stream)