Class FindOpenStream

All Implemented Interfaces:
Detector, Priorities, StatelessDetector, Cloneable

public final class FindOpenStream extends ResourceTrackingDetector<Stream,StreamResourceTracker> implements StatelessDetector
A Detector to look for streams that are opened in a method, do not escape the method, and are not closed on all paths out of the method. Note that "stream" is a bit misleading, since we also use the detector to look for database resources that aren't closed.
Author:
David Hovemeyer, Agustin Toribio [email protected]