public class IOStreamFactory extends java.lang.Object implements StreamFactory
Constructor and Description |
---|
IOStreamFactory(java.lang.String baseClass,
java.lang.String[] uninterestingSubclassList,
java.lang.String bugType) |
Modifier and Type | Method and Description |
---|---|
Stream |
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.
|
java.lang.String |
toString() |
public IOStreamFactory(java.lang.String baseClass, java.lang.String[] uninterestingSubclassList, java.lang.String bugType)
public java.lang.String toString()
toString
in class java.lang.Object
public Stream createStream(Location location, org.apache.bcel.generic.ObjectType type, org.apache.bcel.generic.ConstantPoolGen cpg, RepositoryLookupFailureCallback lookupFailureCallback)
StreamFactory
createStream
in interface StreamFactory
location
- the Locationtype
- 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 objectcpg
- the ConstantPoolGen for the methodlookupFailureCallback
- used to report missing classes in the class hierarchyFindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.