FindBugs™ 1.3.4

edu.umd.cs.findbugs.ba.obl
Class Path

java.lang.Object
  extended by edu.umd.cs.findbugs.ba.obl.Path

public class Path
extends java.lang.Object

A Path is a sequence of program statements. For our purposes, basic blocks are considered statements.

See Weimer and Necula, Finding and preventing run-time error handling mistakes, OOPSLA 2004.

Author:
David Hovemeyer

Constructor Summary
Path()
           
 
Method Summary
 void append(int id)
           
 void copyFrom(Path other)
          Make this Path identical to the given one.
 Path duplicate()
          Return an exact copy of this Path.
 boolean equals(java.lang.Object o)
           
 int getBlockIdAt(int index)
           
 int getLength()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Path

public Path()
Method Detail

append

public void append(int id)

getBlockIdAt

public int getBlockIdAt(int index)

getLength

public int getLength()

duplicate

public Path duplicate()
Return an exact copy of this Path.

Returns:
an exact copy of this Path

copyFrom

public void copyFrom(Path other)
Make this Path identical to the given one.

Parameters:
other - a Path to which this object should be made identical

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

FindBugs™ 1.3.4

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.