Package org.openjdk.jmc.common
Interface IMCFrame
-
- All Known Implementing Classes:
MCFrame
public interface IMCFrame
A stack trace frame.It's recommended, but by design not a requirement, that classes that implements IMCFrame also implement
IMCMethod
. This allows 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 class
IMCFrame.Type
Frame compilation types.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
getFrameLineNumber
Integer getFrameLineNumber()
Returns the line number for the frame, ornull
if not available.- Returns:
- the line number
-
getBCI
Integer getBCI()
Returns the byte code index in Java class file, ornull
if not available.- Returns:
- the byte code index
-
getType
IMCFrame.Type getType()
The compilation type of the frame.- Returns:
- the compilation type
-
-