call tMethod instead of new MethodType

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@548 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent d3a45e7935
commit ecf68a75b4
  1. 3
      jode/jode/bytecode/MethodInfo.java

@ -18,6 +18,7 @@
*/
package jode.bytecode;
import jode.Type;
import jode.MethodType;
import java.io.*;
import java.lang.reflect.Modifier;
@ -32,7 +33,7 @@ public class MethodInfo extends BinaryInfo {
DataInputStream input, int howMuch) throws IOException {
modifier = input.readUnsignedShort();
name = constantPool.getUTF8(input.readUnsignedShort());
type = new MethodType(constantPool.getUTF8(input.readUnsignedShort()));
type = Type.tMethod(constantPool.getUTF8(input.readUnsignedShort()));
readAttributes(constantPool, input, howMuch);
}

Loading…
Cancel
Save