edu.umd.cs.findbugs.detect
public interface StreamFactory
Method Summary | |
---|---|
Stream | createStream(Location location, ObjectType type, ConstantPoolGen cpg, RepositoryLookupFailureCallback lookupFailureCallback)
Determine if a Stream is created at given location.
|
Parameters: location the Location type the ObjectType associated with the instruction at the location; the StreamResourceTracker prescreens for TypedInstructions that are associated with ObjectTypes, since they are the only instructions that could conceivably create a stream object cpg the ConstantPoolGen for the method lookupFailureCallback used to report missing classes in the class hierarchy
Returns: a Stream created at the Location, or null if no stream is created there