Package | Description |
---|---|
edu.umd.cs.findbugs.detect |
Modifier and Type | Field and Description |
---|---|
Stream |
StreamEscape.source |
Modifier and Type | Method and Description |
---|---|
Stream |
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.
|
Stream |
StaticFieldLoadStreamFactory.createStream(Location location,
org.apache.bcel.generic.ObjectType type,
org.apache.bcel.generic.ConstantPoolGen cpg,
RepositoryLookupFailureCallback lookupFailureCallback) |
Stream |
MethodReturnValueStreamFactory.createStream(Location location,
org.apache.bcel.generic.ObjectType type,
org.apache.bcel.generic.ConstantPoolGen cpg,
RepositoryLookupFailureCallback lookupFailureCallback) |
Stream |
InstanceFieldLoadStreamFactory.createStream(Location location,
org.apache.bcel.generic.ObjectType type,
org.apache.bcel.generic.ConstantPoolGen cpg,
RepositoryLookupFailureCallback lookupFailureCallback) |
Stream |
IOStreamFactory.createStream(Location location,
org.apache.bcel.generic.ObjectType type,
org.apache.bcel.generic.ConstantPoolGen cpg,
RepositoryLookupFailureCallback lookupFailureCallback) |
Stream |
AnyMethodReturnValueStreamFactory.createStream(Location location,
org.apache.bcel.generic.ObjectType type,
org.apache.bcel.generic.ConstantPoolGen cpg,
RepositoryLookupFailureCallback lookupFailureCallback) |
Stream |
StreamResourceTracker.isResourceCreation(BasicBlock basicBlock,
org.apache.bcel.generic.InstructionHandle handle,
org.apache.bcel.generic.ConstantPoolGen cpg) |
Stream |
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 |
Stream.setInteresting(java.lang.String bugType)
Mark this Stream as interesting.
|
Stream |
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.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Stream> |
StreamEquivalenceClass.memberIterator()
Get Iterator over the members of the class.
|
Modifier and Type | Method and Description |
---|---|
void |
StreamEquivalenceClass.addMember(Stream member)
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 |
Stream.compareTo(Stream other) |
ResourceValueFrameModelingVisitor |
StreamResourceTracker.createVisitor(Stream resource,
org.apache.bcel.generic.ConstantPoolGen cpg) |
StreamEquivalenceClass |
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.
|
Modifier and Type | Method and Description |
---|---|
void |
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.
|
Constructor and Description |
---|
StreamEscape(Stream source,
Location target)
Constructor.
|
StreamFrameModelingVisitor(org.apache.bcel.generic.ConstantPoolGen cpg,
StreamResourceTracker resourceTracker,
Stream stream) |
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.