|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.tools.javac.jvm.Items.Item
abstract class Items.Item
The base class of all items, which implements default behavior.
| Field Summary | |
|---|---|
(package private) int |
typecode
The type code of values represented by this item. |
| Constructor Summary | |
|---|---|
Items.Item(int typecode)
|
|
| Method Summary | |
|---|---|
(package private) Items.Item |
coerce(int targetcode)
Generate code to coerce item to given type code. |
(package private) Items.Item |
coerce(Type targettype)
Generate code to coerce item to given type. |
(package private) void |
drop()
Generate code to avoid having to use this item. |
(package private) void |
duplicate()
Generate code to use this item twice. |
(package private) Items.Item |
invoke()
Generate code to invoke method represented by this item. |
(package private) Items.Item |
load()
Generate code to load this item onto stack. |
(package private) Items.CondItem |
mkCond()
Generate code to turn item into a testable condition. |
(package private) void |
stash(int toscode)
Generate code to stash a copy of top of stack - of typecode toscode - under this item. |
(package private) void |
store()
Generate code to store top of stack into this item. |
abstract java.lang.String |
toString()
|
(package private) int |
width()
Return the width of this item on stack as a number of words. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
int typecode
| Constructor Detail |
|---|
Items.Item(int typecode)
| Method Detail |
|---|
Items.Item load()
void store()
Items.Item invoke()
void duplicate()
void drop()
void stash(int toscode)
Items.CondItem mkCond()
Items.Item coerce(int targetcode)
targetcode - The type code to coerce to.Items.Item coerce(Type targettype)
targettype - The type to coerce to.int width()
public abstract java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||