Package org.openjdk.jmc.common.util
Class MCFrame
java.lang.Object
org.openjdk.jmc.common.util.MCFrame
- All Implemented Interfaces:
IMCFrame
Base implementation of the
IMCFrame interface.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.openjdk.jmc.common.IMCFrame
IMCFrame.Type -
Constructor Summary
ConstructorsConstructorDescriptionMCFrame(IMCMethod method, Integer bci, Integer frameLineNumber, IMCFrame.Type type) Create a new frame instance. -
Method Summary
Modifier and TypeMethodDescriptionbooleanfinal IntegergetBCI()Returns the byte code index in Java class file, ornullif not available.final IntegerReturns the line number for the frame, ornullif not available.final IMCMethodThe method for the frame.final IMCFrame.TypegetType()The compilation type of the frame.inthashCode()toString()
-
Constructor Details
-
MCFrame
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 Details
-
getBCI
Description copied from interface:IMCFrameReturns the byte code index in Java class file, ornullif not available. -
getMethod
Description copied from interface:IMCFrameThe method for the frame. SeeIMCMethod -
getFrameLineNumber
Description copied from interface:IMCFrameReturns the line number for the frame, ornullif not available.- Specified by:
getFrameLineNumberin interfaceIMCFrame- Returns:
- the line number
-
getType
Description copied from interface:IMCFrameThe compilation type of the frame. -
toString
-
hashCode
public int hashCode() -
equals
-