Package org.openjdk.jmc.common
Interface IMCFrame
-
- All Known Implementing Classes:
MCFrame,StructTypes.JfrFrame
public interface IMCFrameA stack trace frame.It's recommended, but by design not a requirement, that classes that implements IMCFrame also implement
IMCMethod. This allow classes in higher layers to treat a frame just like a method, for instance when using Eclipse object contribution mechanism.This can be implemented simply by letting
getMethod()returnthis.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIMCFrame.TypeFrame compilation types.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.IntegergetBCI()Returns the byte code index in Java class file, ornullif not available.java.lang.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.
-
-
-
Method Detail
-
getFrameLineNumber
java.lang.Integer getFrameLineNumber()
Returns the line number for the frame, ornullif not available.- Returns:
- the line number
-
getBCI
java.lang.Integer getBCI()
Returns the byte code index in Java class file, ornullif not available.- Returns:
- the byte code index
-
getType
IMCFrame.Type getType()
The compilation type of the frame.- Returns:
- the compilation type
-
-