public class ProgramCounter extends Object
Modifier and Type | Field and Description |
---|---|
static int |
NO_SOURCE_LINE_NUMBER
A constant indicating no source line number information is available.
|
Constructor and Description |
---|
ProgramCounter(int programCounter) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
A Program Counter value is enough to uniquely identify a call site reference within a method.
|
int |
getProgramCounter()
Return the program counter (index into the method's bytecode) for this call site.
|
int |
hashCode() |
String |
toString() |
public static final int NO_SOURCE_LINE_NUMBER
public ProgramCounter(int programCounter)
programCounter
- Index into bytecode describing this instructionpublic int getProgramCounter()
public boolean equals(Object obj)
equals
in class Object
Object.equals(Object)