Now gets a ConstantPool instead of a ClassAnalyzer

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@450 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent dd129994ff
commit 93ce417a9b
  1. 6
      jode/jode/decompiler/LocalVariableTable.java

@ -27,15 +27,13 @@ import jode.bytecode.ConstantPool;
public class LocalVariableTable { public class LocalVariableTable {
LocalVariableRangeList[] locals; LocalVariableRangeList[] locals;
public LocalVariableTable(int size, public LocalVariableTable(int size, ConstantPool constantPool,
ClassAnalyzer cla, AttributeInfo attr) { AttributeInfo attr) {
locals = new LocalVariableRangeList[size]; locals = new LocalVariableRangeList[size];
for (int i=0; i<size; i++) for (int i=0; i<size; i++)
locals[i] = new LocalVariableRangeList(i); locals[i] = new LocalVariableRangeList(i);
ConstantPool constantPool = cla.getConstantPool();
DataInputStream stream = new DataInputStream DataInputStream stream = new DataInputStream
(new ByteArrayInputStream(attr.getContents())); (new ByteArrayInputStream(attr.getContents()));
try { try {

Loading…
Cancel
Save