Skip to content

Commit

Permalink
Make generate no-args constructor package private
Browse files Browse the repository at this point in the history
The idea here is that hopefully it convince code coverage
tools to ignore it

Relates to: quarkusio#32254
  • Loading branch information
geoand committed Mar 30, 2023
1 parent 075e721 commit f59198d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,7 @@ public void visit(int version, int access, String name, String signature,
String superName,
String[] interfaces) {
super.visit(version, access, name, signature, superName, interfaces);
MethodVisitor mv = visitMethod(Modifier.PUBLIC | Opcodes.ACC_SYNTHETIC, Methods.INIT, "()V", null,
MethodVisitor mv = visitMethod(Opcodes.ACC_SYNTHETIC, Methods.INIT, "()V", null,
null);
mv.visitCode();
mv.visitVarInsn(Opcodes.ALOAD, 0);
Expand Down

0 comments on commit f59198d

Please sign in to comment.