jltools.types
Interface VarInstance

All Superinterfaces:
java.lang.Cloneable, Copy, java.io.Serializable, TypeObject
All Known Subinterfaces:
FieldInstance, JifFieldInstance, JifLocalInstance, JifVarInstance, LocalInstance, ParamInstance, PrincipalInstance
All Known Implementing Classes:
VarInstance_c

public interface VarInstance
extends TypeObject

A VarInstance contains type information for a variable. It may be either a local or a field.


Method Summary
 java.lang.Object constantValue()
           
 Flags flags()
           
 boolean isConstant()
           
 java.lang.String name()
           
 void setType(Type type)
           
 Type type()
           
 
Methods inherited from interface jltools.types.TypeObject
isCanonical, position, restore, typeSystem
 
Methods inherited from interface jltools.util.Copy
copy
 

Method Detail

flags

public Flags flags()

name

public java.lang.String name()

type

public Type type()

constantValue

public java.lang.Object constantValue()

isConstant

public boolean isConstant()

setType

public void setType(Type type)