org.apache.bcel.verifier.structurals

Class 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 Object
clone()
boolean
equals(Object o)
Frame
getClone()
LocalVariables
getLocals()
OperandStack
getStack()
int
hashCode()
String
toString()
Returns a String representation of the Frame instance.

Field Details

_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 Details

Frame

public Frame(int maxLocals,
             int maxStack)

Frame

public Frame(LocalVariables locals,
             OperandStack stack)

Method Details

clone

protected Object clone()

equals

public boolean equals(Object o)

getClone

public Frame getClone()

getLocals

public LocalVariables getLocals()

getStack

public OperandStack getStack()

hashCode

public int hashCode()
Returns:
a hash code value for the object.

toString

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