edu.umd.cs.findbugs.detect
public class InstanceFieldLoadStreamFactory extends Object implements StreamFactory
Constructor Summary | |
---|---|
InstanceFieldLoadStreamFactory(String streamBaseClass)
Constructor.
|
Method Summary | |
---|---|
Stream | createStream(Location location, ObjectType type, ConstantPoolGen cpg, RepositoryLookupFailureCallback lookupFailureCallback) |
InstanceFieldLoadStreamFactory | setBugPatternType(String bugPatternType)
Set the bug pattern type reported for unclosed streams
loaded from this field. |
Parameters: streamBaseClass the base class of the streams produced by the factory
Parameters: bugPatternType the bug pattern type