fix according to asm5 deprecations

This commit is contained in:
Anna Kozlova
2014-06-20 11:45:48 +02:00
parent 2f9463d66a
commit 9b682fe00c
2 changed files with 2 additions and 2 deletions
@@ -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;
}
@@ -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;