private Method[] instructionToMethod(InvokeInstruction[] instructions, ConstantPoolGen pool) throws ClassNotFoundException { Set methods = new HashSet(); for (int i = 0; i < instructions.length; i++) { Method method = ClassUtils.findMethod(instructions[i].getClassName(pool), instructions[i].getName(pool), instructions[i].getSignature(pool)); if (method == null) { System.out.println(instructions[i].getClassName(pool)); System.out.println(instructions[i].getName(pool)); System.out.println(instructions[i].getSignature(pool)); System.out.println(); } else { methods.add(method); } } return (Method[]) methods.toArray(new Method[0]); }
private Method[] instructionToMethod(InvokeInstruction[] instructions, ConstantPoolGen pool) throws ClassNotFoundException { Set methods = new HashSet(); for (int i = 0; i < instructions.length; i++) { Method method = ClassUtils.findMethod(instructions[i] .getClassName(pool), instructions[i].getName(pool), instructions[i].getSignature(pool)); if (method == null) { System.out.println("NO ACHOU O METODO"); System.out.println(instructions[i].getClassName(pool)); System.out.println(instructions[i].getName(pool)); System.out.println(instructions[i].getSignature(pool)); System.out.println(); } else { methods.add(method); } } return (Method[]) methods.toArray(new Method[0]); }
	private Method[] instructionToMethod(InvokeInstruction[] instructions, ConstantPoolGen pool) throws ClassNotFoundException {		Set methods = new HashSet();		for (int i = 0; i < instructions.length; i++) {			Method method = ClassUtils.findMethod(instructions[i].getClassName(pool), instructions[i].getName(pool), instructions[i].getSignature(pool));			if (method == null) {				System.out.println(instructions[i].getClassName(pool));				System.out.println(instructions[i].getName(pool));				System.out.println(instructions[i].getSignature(pool));				System.out.println();			} else {				methods.add(method);			}		}		return (Method[]) methods.toArray(new Method[0]);	}