Class Frame

java.lang.Object
org.fife.rsta.ac.java.classreader.Frame

public class Frame extends Object
A Frame contains information on a method being decompiled, similar to a Frame as defined in 3.6 of the JVM spec.
Version:
1.0
  • Field Details

  • Constructor Details

    • Frame

      public Frame(Code code)
      Constructor.
      Parameters:
      code - The Code attribute being decompiled.
  • Method Details

    • getLocalVar

      public Frame.LocalVarInfo getLocalVar(int index, String defaultType)
      Returns the specified local variable.
      Parameters:
      index - The index of the local variable.
      defaultType - The default type.
      Returns:
      The local variable.
    • pop

      public String pop()
      Pops a value from this frame.
      Returns:
      The value.
      See Also:
    • push

      public void push(String value)
      Pushes a value onto this frame.
      Parameters:
      value - The value to push.
      See Also: