|
|||||||||
| 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
com.sun.tools.javac.jvm.Items.ImmediateItem
class Items.ImmediateItem
An item representing a literal.
| Field Summary | |
|---|---|
(package private) java.lang.Object |
value
The literal's value. |
| Fields inherited from class com.sun.tools.javac.jvm.Items.Item |
|---|
typecode |
| Constructor Summary | |
|---|---|
Items.ImmediateItem(Type type,
java.lang.Object value)
|
|
| Method Summary | |
|---|---|
(package private) Items.Item |
coerce(int targetcode)
Generate code to coerce item to given type code. |
private boolean |
isPosZero(double x)
Return true iff double number is positive 0. |
private boolean |
isPosZero(float x)
Return true iff float number is positive 0. |
private void |
ldc()
|
(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. |
java.lang.String |
toString()
|
| Methods inherited from class com.sun.tools.javac.jvm.Items.Item |
|---|
coerce, drop, duplicate, invoke, stash, store, width |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
java.lang.Object value
| Constructor Detail |
|---|
Items.ImmediateItem(Type type,
java.lang.Object value)
| Method Detail |
|---|
private void ldc()
Items.Item load()
Items.Item
load in class Items.Itemprivate boolean isPosZero(float x)
private boolean isPosZero(double x)
Items.CondItem mkCond()
Items.Item
mkCond in class Items.ItemItems.Item coerce(int targetcode)
Items.Item
coerce in class Items.Itemtargetcode - The type code to coerce to.public java.lang.String toString()
toString in class Items.Item
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||