mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java] makes pattern instrumenter compatible with ASM 6.2 - Groovy case, updated (IDEA-191331)
This commit is contained in:
+2
-1
@@ -47,11 +47,12 @@ class InstrumentationAdapter extends FailSafeMethodVisitor implements Opcodes {
|
||||
myParamAnnotationOffset = paramAnnotationOffset;
|
||||
}
|
||||
|
||||
@SuppressWarnings("override")
|
||||
@Override
|
||||
public void visitAnnotableParameterCount(int parameterCount, boolean visible) {
|
||||
if (myParamAnnotationOffset != 0 && parameterCount == myArgTypes.length) {
|
||||
myParamAnnotationOffset = 0;
|
||||
}
|
||||
super.visitAnnotableParameterCount(parameterCount, visible);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user