1 package polyglot.types;2 3 /**4 * A <code>LocalInstance</code> contains type information for a local variable.5 */6 public interface LocalInstance extends VarInstance7 {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 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 value);27 28 /**29 * Destructively set the local's constant value.30 */31 void setConstantValue(Object value);32 }33