Skip to content

Commit

Permalink
fix: Fix attribute adder for parameter annotations (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
Berstanio authored Dec 5, 2024
1 parent 9ab932c commit bd36314
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ public void visitRuntimeVisibleParameterAnnotationsAttribute(
new RuntimeVisibleParameterAnnotationsAttribute(
constantAdder.addConstant(
clazz, runtimeVisibleParameterAnnotationsAttribute.u2attributeNameIndex),
0,
runtimeVisibleParameterAnnotationsAttribute.u1parametersCount,
new int[runtimeVisibleParameterAnnotationsAttribute.u1parametersCount],
parameterAnnotations);

Expand Down Expand Up @@ -538,7 +538,7 @@ public void visitRuntimeInvisibleParameterAnnotationsAttribute(
new RuntimeInvisibleParameterAnnotationsAttribute(
constantAdder.addConstant(
clazz, runtimeInvisibleParameterAnnotationsAttribute.u2attributeNameIndex),
0,
runtimeInvisibleParameterAnnotationsAttribute.u1parametersCount,
new int[runtimeInvisibleParameterAnnotationsAttribute.u1parametersCount],
parameterAnnotations);

Expand Down

0 comments on commit bd36314

Please sign in to comment.