Class StreamEscape

java.lang.Object
edu.umd.cs.findbugs.detect.StreamEscape
All Implemented Interfaces:
Comparable<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 Details

    • source

      public final Stream source
    • target

      public final Location target
  • Constructor Details

    • 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 Details