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

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

 class Items.LocalItem
extends Items.Item

An item representing a local variable.


Field Summary
(package private)  int reg
          The variable's register.
(package private)  Type type
          The variable's type.
 
Fields inherited from class com.sun.tools.javac.jvm.Items.Item
typecode
 
Constructor Summary
Items.LocalItem(Type type, int reg)
           
 
Method Summary
(package private)  void incr(int x)
           
(package private)  Items.Item load()
          Generate code to load this item onto stack.
(package private)  void store()
          Generate code to store top of stack into this item.
 java.lang.String toString()
           
 
Methods inherited from class com.sun.tools.javac.jvm.Items.Item
coerce, coerce, drop, duplicate, invoke, mkCond, stash, width
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

reg

int reg
The variable's register.


type

Type type
The variable's type.

Constructor Detail

Items.LocalItem

Items.LocalItem(Type type,
                int reg)
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

incr

void incr(int x)

toString

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