Package edu.umd.cs.findbugs.detect
Class StreamEscape
- java.lang.Object
-
- edu.umd.cs.findbugs.detect.StreamEscape
-
- All Implemented Interfaces:
java.lang.Comparable<StreamEscape>
public class StreamEscape extends java.lang.Object implements java.lang.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.
-
-
Constructor Summary
Constructors Constructor Description StreamEscape(Stream source, Location target)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(StreamEscape other)
boolean
equals(java.lang.Object o)
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
compareTo
public int compareTo(StreamEscape other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<StreamEscape>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-