com.sun.tools.javac.jvm
Class Items.IndexedItem

java.lang.Object
  extended by com.sun.tools.javac.jvm.Items.Item
      extended by com.sun.tools.javac.jvm.Items.IndexedItem
Enclosing class:
Items

 class Items.IndexedItem
extends Items.Item

An item representing an indexed expression.


Field Summary
 
Fields inherited from class com.sun.tools.javac.jvm.Items.Item
typecode
 
Constructor Summary
Items.IndexedItem(Type type)
           
 
Method Summary
(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 load()
          Generate code to load this item onto stack.
(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.
 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 com.sun.tools.javac.jvm.Items.Item
coerce, coerce, invoke, mkCond
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Items.IndexedItem

Items.IndexedItem(Type type)
Method Detail

load

Items.Item load()
Description copied from class: Items.Item
Generate code to load this item onto stack.

Overrides:
load in class Items.Item

store

void store()
Description copied from class: Items.Item
Generate code to store top of stack into this item.

Overrides:
store in class Items.Item

duplicate

void duplicate()
Description copied from class: Items.Item
Generate code to use this item twice.

Overrides:
duplicate in class Items.Item

drop

void drop()
Description copied from class: Items.Item
Generate code to avoid having to use this item.

Overrides:
drop in class Items.Item

stash

void stash(int toscode)
Description copied from class: Items.Item
Generate code to stash a copy of top of stack - of typecode toscode - under this item.

Overrides:
stash in class Items.Item

width

int width()
Description copied from class: Items.Item
Return the width of this item on stack as a number of words.

Overrides:
width in class Items.Item

toString

public java.lang.String toString()
Specified by:
toString in class Items.Item