public ClassFile classname(String clsname) { classname = ClassRef.create(Utf8.create(clsname)); return this; }
public ClassFile superclass(String clsname) { superclass = ClassRef.create(Utf8.create(clsname)); return this; }
public void addInterface(String className) { if (interfaces == null) { interfaces = new ArrayList<ClassRef>(); } interfaces.add(ClassRef.create(Utf8.create(className))); }