Package org.openjdk.jmc.common
Interface IMCFrame
-
- All Known Implementing Classes:
MCFrame
public interface IMCFrameA 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 classIMCFrame.TypeFrame compilation types.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
getFrameLineNumber
Integer getFrameLineNumber()
Returns the line number for the frame, ornullif not available.- Returns:
- the line number
-
getBCI
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
-
-