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()
return this
.
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
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
-
getMethod
IMCMethod getMethod()The method for the frame. SeeIMCMethod
- Returns:
- the method
-
getType
IMCFrame.Type getType()The compilation type of the frame.- Returns:
- the compilation type
-