Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lehvolk committed Oct 10, 2023
1 parent 4b578f3 commit 3bc831a
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,16 +97,16 @@ class MethodNodeBuilder(
mn.maxLocals = localIndex
mn.maxStack = maxStack + 1
//At this moment, we're just copying annotations from original method without any modifications
with(method.asmNode()) {
mn.visibleAnnotations = visibleAnnotations
mn.visibleTypeAnnotations = visibleTypeAnnotations
mn.visibleLocalVariableAnnotations = visibleLocalVariableAnnotations
mn.visibleParameterAnnotations = visibleParameterAnnotations
mn.invisibleAnnotations = invisibleAnnotations
mn.invisibleTypeAnnotations = invisibleTypeAnnotations
mn.invisibleLocalVariableAnnotations = invisibleLocalVariableAnnotations
mn.invisibleParameterAnnotations = invisibleParameterAnnotations
}
// with(method.asmNode()) {
// mn.visibleAnnotations = visibleAnnotations
// mn.visibleTypeAnnotations = visibleTypeAnnotations
// mn.visibleLocalVariableAnnotations = visibleLocalVariableAnnotations
// mn.visibleParameterAnnotations = visibleParameterAnnotations
// mn.invisibleAnnotations = invisibleAnnotations
// mn.invisibleTypeAnnotations = invisibleTypeAnnotations
// mn.invisibleLocalVariableAnnotations = invisibleLocalVariableAnnotations
// mn.invisibleParameterAnnotations = invisibleParameterAnnotations
// }
return mn
}

Expand Down

0 comments on commit 3bc831a

Please sign in to comment.