|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VarInstance
A VarInstance
contains type information for a variable. It may
be either a local or a field.
Method Summary | |
---|---|
java.lang.Object |
constantValue()
The variable's constant value, or null. |
Flags |
flags()
The flags of the variable. |
boolean |
isConstant()
Whether the variable has a constant value. |
java.lang.String |
name()
The name of the variable. |
void |
setFlags(Flags flags)
Destructively set the flags of the variable. |
void |
setType(Type type)
Destructively set the type of the variable. |
Type |
type()
The type of the variable. |
Methods inherited from interface polyglot.types.TypeObject |
---|
equalsImpl, isCanonical, position, typeSystem |
Methods inherited from interface polyglot.util.Copy |
---|
copy |
Method Detail |
---|
Flags flags()
java.lang.String name()
Type type()
java.lang.Object constantValue()
boolean isConstant()
void setType(Type type)
void setFlags(Flags flags)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |