
JVM, Class Files, and the CLEmitter 325
where accessFlags is a list of inner class access and property flags, innerClass is the name
of the inner class in internal form, outerClass is the name of the outer class in internal
form, and innerName is the simple name of the inner class.
Add Field
After a class is added, fields can be added to the class by sending to the CLEmitter instance
the following message:
public void addField ( ArrayList < String > accessFla g s ,
String name ,
String type ,
boolean is S y nthetic )
where accessFlags is a list of field access and property flags, name is the name of the field,
type is the type descriptor for the field, and