public class FieldCreator extends Object implements IFieldCreator
| 构造器和说明 |
|---|
FieldCreator(String name,
int modifiers,
AClass type) |
FieldCreator(String name,
int modifiers,
AClass type,
Object val) |
public FieldCreator(String name, int modifiers, AClass type)
name - modifiers - type - public FieldCreator(String name, int modifiers, AClass type, Object val)
name - modifiers - type - val - the field's initial value. This parameter,
which may be null if the field does not have an initial value,
must be an Integer, a Float, a Long, a Double or a
String (for int, float, long or String fields respectively).
This parameter is only used for static fields. Its value is
ignored for non static fields, which must be initialized
through bytecode instructions in constructors or methods.public void create(IClassContext cv)
IFieldCreatorcreate 在接口中 IFieldCreatorpublic void prepare()
Executableprepare 在接口中 Executablepublic void execute()
Executableexecute 在接口中 ExecutableCopyright © 2015. All rights reserved.