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 booleanequals(Object obj)IntegergetBCI()Returns the byte code index in Java class file, ornullif not available.IntegergetFrameLineNumber()Returns the line number for the frame, ornullif not available.IMCMethodgetMethod()The method for the frame.IMCFrame.TypegetType()The compilation type of the frame.inthashCode()StringtoString()
-
-
-
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:IMCFrameReturns the byte code index in Java class file, ornullif not available.
-
getMethod
public final IMCMethod getMethod()
Description copied from interface:IMCFrameThe method for the frame. SeeIMCMethod
-
getFrameLineNumber
public final Integer getFrameLineNumber()
Description copied from interface:IMCFrameReturns the line number for the frame, ornullif not available.- Specified by:
getFrameLineNumberin interfaceIMCFrame- Returns:
- the line number
-
getType
public final IMCFrame.Type getType()
Description copied from interface:IMCFrameThe compilation type of the frame.
-
-