add getConstantPool()

This commit is contained in:
Volker Berlin 2017-04-08 18:09:06 +02:00
parent 53a8820a1f
commit 301f49c2f4

View File

@ -18,8 +18,6 @@ package de.inetsoftware.classparser;
import java.io.DataInputStream;
import java.io.IOException;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import de.inetsoftware.classparser.Attributes.AttributeInfo;
@ -149,4 +147,12 @@ public class MethodInfo {
}
return null;
}
/**
* Get the constant pool of the the current class.
* @return the constant pool
*/
public ConstantPool getConstantPool() {
return constantPool;
}
}