KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > polyglot > types > LocalInstance


1 package polyglot.types;
2
3 /**
4  * A <code>LocalInstance</code> contains type information for a local variable.
5  */

6 public interface LocalInstance extends VarInstance
7 {
8     /**
9      * Set the local's flags.
10      */

11     LocalInstance flags(Flags flags);
12
13     /**
14      * Set the local's name.
15      */

16     LocalInstance name(String JavaDoc name);
17
18     /**
19      * Set the local's type.
20      */

21     LocalInstance type(Type type);
22
23     /**
24      * Set the local's constant value.
25      */

26     LocalInstance constantValue(Object JavaDoc value);
27
28     /**
29      * Destructively set the local's constant value.
30      */

31     void setConstantValue(Object JavaDoc value);
32 }
33
Popular Tags