edu.umd.cs.findbugs.detect
public class MethodReturnValueStreamFactory extends Object implements StreamFactory
Constructor Summary | |
---|---|
MethodReturnValueStreamFactory(String baseClass, String methodName, String methodSig)
Constructor.
| |
MethodReturnValueStreamFactory(String baseClass, String methodName, String methodSig, String bugType)
Constructor.
|
Method Summary | |
---|---|
Stream | createStream(Location location, ObjectType type, ConstantPoolGen cpg, RepositoryLookupFailureCallback lookupFailureCallback) |
Parameters: baseClass base class through which the method will be called (we check instances of the base class and all subtypes) methodName name of the method called methodSig signature of the method called
Parameters: baseClass base class through which the method will be called (we check instances of the base class and all subtypes) methodName name of the method called methodSig signature of the method called bugType the bug type that should be reported if the stream is not closed on all paths out of the method