|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface HFieldMutator
HFieldMutator allows you to change properties of
an HField.
HField.getMutator()| Method Summary | |
|---|---|
void |
addModifiers(int m)
Add the modifiers specified by m to the field. |
void |
removeModifiers(int m)
Remove the modifiers specified by m from the field. |
void |
setConstant(Object co)
Mark this field as constant with the constant value given by co. |
void |
setModifiers(int m)
Set the field's modifiers to those specified by m. |
void |
setSynthetic(boolean isSynthetic)
Set the 'synthetic' property of this field. |
void |
setType(HClass type)
Set the type of this field to type. |
| Method Detail |
|---|
void addModifiers(int m)
m to the field.
The java.lang.reflect.Modifier class should be used
to encode the modifiers.
Modifiervoid setModifiers(int m)
m.
The java.lang.reflect.Modifier class should be used
to encode the modifiers.
Modifiervoid removeModifiers(int m)
m from the field.
The java.lang.reflect.Modifier class should be used
to encode the modifiers.
Modifiervoid setType(HClass type)
type.
void setConstant(Object co)
co.
void setSynthetic(boolean isSynthetic)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||