equal
deleted
inserted
replaced
270 |
270 |
271 /** |
271 /** |
272 * Set up class file generation. |
272 * Set up class file generation. |
273 */ |
273 */ |
274 private void classFilePrologue() { |
274 private void classFilePrologue() { |
|
275 final int NOT_ACC_PUBLIC = 0; // not ACC_PUBLIC |
275 cw = new ClassWriter(ClassWriter.COMPUTE_MAXS + ClassWriter.COMPUTE_FRAMES); |
276 cw = new ClassWriter(ClassWriter.COMPUTE_MAXS + ClassWriter.COMPUTE_FRAMES); |
276 cw.visit(Opcodes.V1_8, Opcodes.ACC_PUBLIC + Opcodes.ACC_FINAL + Opcodes.ACC_SUPER, className, null, superName, null); |
277 cw.visit(Opcodes.V1_8, NOT_ACC_PUBLIC + Opcodes.ACC_FINAL + Opcodes.ACC_SUPER, className, null, superName, null); |
277 cw.visitSource(sourceFile, null); |
278 cw.visitSource(sourceFile, null); |
278 |
279 |
279 String invokerDesc = invokerType.toMethodDescriptorString(); |
280 String invokerDesc = invokerType.toMethodDescriptorString(); |
280 mv = cw.visitMethod(Opcodes.ACC_STATIC, invokerName, invokerDesc, null, null); |
281 mv = cw.visitMethod(Opcodes.ACC_STATIC, invokerName, invokerDesc, null, null); |
281 } |
282 } |