|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FieldInstance
A FieldInstance
contains type information for a field.
Method Summary | |
---|---|
FieldInstance |
constantValue(java.lang.Object value)
Set the constant value of the field. |
FieldInstance |
container(ReferenceType container)
Set the containing class of the field. |
FieldInstance |
flags(Flags flags)
Set the flags of the field. |
FieldInstance |
name(java.lang.String name)
Set the name of the field. |
void |
setConstantValue(java.lang.Object value)
Destructively set the constant value of the field. |
FieldInstance |
type(Type type)
Set the type of the field. |
Methods inherited from interface polyglot.types.VarInstance |
---|
constantValue, flags, isConstant, name, setFlags, setType, type |
Methods inherited from interface polyglot.types.TypeObject |
---|
equalsImpl, isCanonical, position, typeSystem |
Methods inherited from interface polyglot.util.Copy |
---|
copy |
Methods inherited from interface polyglot.types.MemberInstance |
---|
container, flags |
Methods inherited from interface polyglot.types.TypeObject |
---|
equalsImpl, isCanonical, position, typeSystem |
Methods inherited from interface polyglot.util.Copy |
---|
copy |
Method Detail |
---|
FieldInstance flags(Flags flags)
FieldInstance name(java.lang.String name)
FieldInstance type(Type type)
FieldInstance container(ReferenceType container)
FieldInstance constantValue(java.lang.Object value)
value
- the constant value. Should be an instance of String,
Boolean, Byte, Short, Character, Integer, Long, Float, Double, or null.void setConstantValue(java.lang.Object value)
value
- the constant value. Should be an instance of String,
Boolean, Byte, Short, Character, Integer, Long, Float, Double, or null.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |