# Class Frame

java.lang.Object
org.apache.bcel.verifier.structurals.Frame

public class Frame extends Object
This class represents a JVM execution frame; that means, a local variable array and an operand stack.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected static UninitializedObjectType`
  `_this`
  Deprecated.
  Use the getter/setter to access the field as it may be made private in a later release

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Frame(int maxLocals, int maxStack)`
  `Frame(LocalVariables locals, OperandStack stack)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected Object`
  `clone()`
  `boolean`
  `equals(Object o)`
  `Frame`
  `getClone()`
  `LocalVariables`
  `getLocals()`
  `OperandStack`
  `getStack()`
  `static UninitializedObjectType`
  `getThis()`
  `int`
  `hashCode()`
  `static void`
  `setThis(UninitializedObjectType _this)`
  `String`
  `toString()`
  Returns a String representation of the Frame instance.

  ### Methods inherited from class Object

  `finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### _this

    @Deprecated protected static UninitializedObjectType _this
    Deprecated.
    Use the getter/setter to access the field as it may be made private in a later release
    For instance initialization methods, it is important to remember which instance it is that is not initialized yet. It will be initialized invoking another constructor later. NULL means the instance already *is* initialized.

- ## Constructor Details

  - ### Frame

    public Frame(int maxLocals, int maxStack)

  - ### Frame

    public Frame(LocalVariables locals, OperandStack stack)

- ## Method Details

  - ### getThis

    public static UninitializedObjectType getThis()
    Returns:
      the _this
    Since:
      6.0

  - ### setThis

    public static void setThis(UninitializedObjectType _this)
    Parameters:
      `_this` - the _this to set
    Since:
      6.0

  - ### clone

    protected Object clone()
    Overrides:
      `clone` in class `Object`

  - ### equals

    public boolean equals(Object o)
    Overrides:
      `equals` in class `Object`

  - ### getClone

    public Frame getClone()

  - ### getLocals

    public LocalVariables getLocals()

  - ### getStack

    public OperandStack getStack()

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`
    Returns:
      a hash code value for the object.

  - ### toString

    public String toString()
    Returns a String representation of the Frame instance.
    Overrides:
      `toString` in class `Object`