public class JifFieldInstance_c extends polyglot.types.FieldInstance_c implements JifFieldInstance
JifFieldInstance interface.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
hasInitializer |
protected Param |
initializer |
protected Label |
label |
| Constructor and Description |
|---|
JifFieldInstance_c(JifTypeSystem ts,
polyglot.util.Position pos,
polyglot.types.ReferenceType container,
polyglot.types.Flags flags,
polyglot.types.Type type,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
constantValue() |
polyglot.types.FieldInstance |
constantValue(java.lang.Object constantValue) |
boolean |
constantValueSet() |
boolean |
equalsImpl(polyglot.types.TypeObject o) |
boolean |
hasInitializer() |
Param |
initializer() |
boolean |
isConstant() |
Label |
label() |
polyglot.types.FieldInstance |
notConstant() |
ProviderLabel |
provider() |
void |
setConstantValue(java.lang.Object constantValue) |
void |
setHasInitializer(boolean hasInitializer) |
void |
setInitializer(Param init) |
void |
setLabel(Label label) |
void |
subst(VarMap bounds) |
java.lang.String |
toString() |
container, container, flags, isCanonical, name, orig, setContainer, typedeclaration, flags, hashCode, name, setDeclaration, setFlags, setName, setNotConstant, setType, typeclone, finalize, getClass, notify, notifyAll, wait, wait, waitcontainer, flags, setContainer, setFlagsprotected Label label
protected boolean hasInitializer
protected Param initializer
public JifFieldInstance_c(JifTypeSystem ts, polyglot.util.Position pos, polyglot.types.ReferenceType container, polyglot.types.Flags flags, polyglot.types.Type type, java.lang.String name)
public boolean equalsImpl(polyglot.types.TypeObject o)
equalsImpl in interface polyglot.types.TypeObjectequalsImpl in class polyglot.types.FieldInstance_cpublic void subst(VarMap bounds)
subst in interface JifVarInstancepublic Label label()
label in interface JifVarInstancepublic void setLabel(Label label)
setLabel in interface JifVarInstancepublic ProviderLabel provider()
provider in interface JifFieldInstancepublic boolean hasInitializer()
hasInitializer in interface JifFieldInstancepublic void setHasInitializer(boolean hasInitializer)
setHasInitializer in interface JifFieldInstancepublic Param initializer()
initializer in interface JifFieldInstancepublic void setInitializer(Param init)
setInitializer in interface JifFieldInstancepublic boolean isConstant()
isConstant in interface polyglot.types.VarInstanceisConstant in class polyglot.types.FieldInstance_cpublic java.lang.Object constantValue()
constantValue in interface polyglot.types.VarInstanceconstantValue in class polyglot.types.VarInstance_cpublic boolean constantValueSet()
constantValueSet in interface polyglot.types.VarInstanceconstantValueSet in class polyglot.types.VarInstance_cpublic polyglot.types.FieldInstance constantValue(java.lang.Object constantValue)
constantValue in interface polyglot.types.FieldInstanceconstantValue in class polyglot.types.FieldInstance_cpublic polyglot.types.FieldInstance notConstant()
notConstant in interface polyglot.types.FieldInstancenotConstant in class polyglot.types.FieldInstance_cpublic void setConstantValue(java.lang.Object constantValue)
setConstantValue in interface polyglot.types.VarInstancesetConstantValue in class polyglot.types.VarInstance_cpublic java.lang.String toString()
toString in class polyglot.types.FieldInstance_c