Package edu.umd.cs.findbugs.detect
Class StreamEscape
java.lang.Object
edu.umd.cs.findbugs.detect.StreamEscape
- All Implemented Interfaces:
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
-
Constructor Summary
-
Method Summary
-
Field Details
-
source
-
target
-
-
Constructor Details
-
StreamEscape
Constructor.- Parameters:
source
- Location where stream is openedtarget
- Location where stream escapes by being passed to a method
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<StreamEscape>
-
hashCode
public int hashCode() -
equals
-
toString
-