org.apache.bcel.verifier.structurals
Class Frame

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

public class Frame
extends java.lang.Object

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

Version:
$Id: Frame.java 386056 2006-03-15 11:31:56Z tcurdt $
Author:
Enver Haase

Field Summary
protected static UninitializedObjectType _this
          For instance initialization methods, it is important to remember which instance it is that is not initialized yet.
private  LocalVariables locals
           
private  OperandStack stack
           
 
Constructor Summary
Frame(int maxLocals, int maxStack)
           
Frame(LocalVariables locals, OperandStack stack)
           
 
Method Summary
protected  java.lang.Object clone()
           
 boolean equals(java.lang.Object o)
           
 Frame getClone()
           
 LocalVariables getLocals()
           
 OperandStack getStack()
           
 int hashCode()
           
 java.lang.String toString()
          Returns a String representation of the Frame instance.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_this

protected static UninitializedObjectType _this
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.


locals

private LocalVariables locals

stack

private OperandStack stack
Constructor Detail

Frame

public Frame(int maxLocals,
             int maxStack)

Frame

public Frame(LocalVariables locals,
             OperandStack stack)
Method Detail

clone

protected java.lang.Object clone()
Overrides:
clone in class java.lang.Object

getClone

public Frame getClone()

getLocals

public LocalVariables getLocals()

getStack

public OperandStack getStack()

hashCode

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

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Returns a String representation of the Frame instance.

Overrides:
toString in class java.lang.Object