mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix according to asm5 deprecations
This commit is contained in:
+1
-1
@@ -978,7 +978,7 @@ public class AsmCodeGenerator {
|
||||
super(Opcodes.ASM5, new MethodVisitor(Opcodes.ASM5){});
|
||||
}
|
||||
|
||||
public void visitMethodInsn(final int opcode, final String owner, final String name, final String desc) {
|
||||
public void visitMethodInsn(int opcode, String owner, String name, String desc, boolean itf) {
|
||||
if (name.equals(SETUP_METHOD_NAME)) {
|
||||
myExplicitSetupCall = true;
|
||||
}
|
||||
|
||||
+1
-1
@@ -46,7 +46,7 @@ public class MethodsUsageIndexer extends ClassFileIndexer<Integer, TObjectIntHas
|
||||
new HashMap<Integer, TObjectIntHashMap<EnumeratedMethodIncompleteSignature>>();
|
||||
final MethodVisitor methodVisitor = new MethodVisitor(Opcodes.ASM5) {
|
||||
@Override
|
||||
public void visitMethodInsn(final int opcode, final String owner, final String name, final String desc) {
|
||||
public void visitMethodInsn(int opcode, String owner, String name, String desc, boolean itf) {
|
||||
final Type returnType = Type.getReturnType(desc);
|
||||
if (AsmUtil.isPrimitiveOrArrayOfPrimitives(returnType.getDescriptor()) || "<init>".equals(name)) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user