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
    Modifier and Type
    Interface
    Description
    static final class 
    Frame compilation types.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the byte code index in Java class file, or null if not available.
    Returns the line number for the frame, or null if not available.
    The method for the frame.
    The compilation type of the frame.
  • Method Details

    • getFrameLineNumber

      Integer getFrameLineNumber()
      Returns the line number for the frame, or null if not available.
      Returns:
      the line number
    • getBCI

      Integer getBCI()
      Returns the byte code index in Java class file, or null if not available.
      Returns:
      the byte code index
    • getMethod

      IMCMethod getMethod()
      The method for the frame. See IMCMethod
      Returns:
      the method
    • getType

      IMCFrame.Type getType()
      The compilation type of the frame.
      Returns:
      the compilation type