Package org.openjdk.jmc.common.util
Class MCFrame
- java.lang.Object
-
- org.openjdk.jmc.common.util.MCFrame
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openjdk.jmc.common.IMCFrame
IMCFrame.Type
-
-
Constructor Summary
Constructors Constructor Description MCFrame(IMCMethod method, Integer bci, Integer frameLineNumber, IMCFrame.Type type)
Create a new frame instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Integer
getBCI()
Returns the byte code index in Java class file, ornull
if not available.Integer
getFrameLineNumber()
Returns the line number for the frame, ornull
if not available.IMCMethod
getMethod()
The method for the frame.IMCFrame.Type
getType()
The compilation type of the frame.int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
MCFrame
public MCFrame(IMCMethod method, Integer bci, Integer frameLineNumber, IMCFrame.Type type)
Create a new frame instance.- Parameters:
method
- method for the frame, seeIMCFrame.getMethod()
bci
- byte code index for the frame, seeIMCFrame.getBCI()
frameLineNumber
- frame line number, seeIMCFrame.getFrameLineNumber()
type
- frame compilation type
-
-
Method Detail
-
getBCI
public final Integer getBCI()
Description copied from interface:IMCFrame
Returns the byte code index in Java class file, ornull
if not available.
-
getMethod
public final IMCMethod getMethod()
Description copied from interface:IMCFrame
The method for the frame. SeeIMCMethod
-
getFrameLineNumber
public final Integer getFrameLineNumber()
Description copied from interface:IMCFrame
Returns the line number for the frame, ornull
if not available.- Specified by:
getFrameLineNumber
in interfaceIMCFrame
- Returns:
- the line number
-
getType
public final IMCFrame.Type getType()
Description copied from interface:IMCFrame
The compilation type of the frame.
-
-