edu.umd.cs.findbugs.detect

Class StreamEscape

public class StreamEscape extends Object implements Comparable<StreamEscape>

A StreamEscape is an object representing the escape of a Stream to a called method. The "source" is the Stream which is escaping. The "target" is the Location where the stream instance escapes.
Field Summary
Streamsource
Locationtarget
Constructor Summary
StreamEscape(Stream source, Location target)
Constructor.
Method Summary
intcompareTo(StreamEscape other)

Field Detail

source

public final Stream source

target

public final Location target

Constructor Detail

StreamEscape

public StreamEscape(Stream source, Location target)
Constructor.

Parameters: source Location where stream is opened target Location where stream escapes by being passed to a method

Method Detail

compareTo

public int compareTo(StreamEscape other)
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.