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