Lines Matching refs:classfile
40 public static byte[] writeClass(ClassFile classfile) { in writeClass() argument
43 output.writeShort(classfile.access()); in writeClass()
44 output.writeShort(pool.classInfo(classfile.name())); in writeClass()
45 output.writeShort(classfile.superName() != null ? pool.classInfo(classfile.superName()) : 0); in writeClass()
46 output.writeShort(classfile.interfaces().size()); in writeClass()
47 for (String i : classfile.interfaces()) { in writeClass()
50 output.writeShort(classfile.fields().size()); in writeClass()
51 for (ClassFile.FieldInfo f : classfile.fields()) { in writeClass()
54 output.writeShort(classfile.methods().size()); in writeClass()
55 for (ClassFile.MethodInfo m : classfile.methods()) { in writeClass()
58 writeAttributes(pool, output, LowerAttributes.classAttributes(classfile)); in writeClass()
59 return finishClass(pool, output, classfile); in writeClass()
118 ConstantPool pool, ByteArrayDataOutput body, ClassFile classfile) { in finishClass() argument
122 result.writeShort(classfile.module() != null ? MODULE_MAJOR_VERSION : MAJOR_VERSION); in finishClass()