package sophomore.classfile;

public class ConstantPool {
	public ConstantPool(int size) {
		
	}
}
@@ -27,71 +27,445 @@
 e;%0A%0A
-public class ConstantPool %7B%0A%09public ConstantPool(int size) %7B%0A%09%09
+import sophomore.classfile.constantpool.ConstantInfo;%0A%0Apublic class ConstantPool %7B%0A%09private ConstantInfo%5B%5D pool;%0A%09private int currentIndex;%0A%09public ConstantPool(int size) %7B%0A%09%09this.pool = new ConstantInfo%5Bsize%5D;%0A%09%7D%0A%0A%09public void addElement(ConstantInfo element) %7B%0A%09%09if(currentIndex == pool.length) %7B%0A%09%09%09throw new ArrayIndexOutOfBoundsException();%0A%09%09%7D%0A%09%09pool%5BcurrentIndex++%5D = element;%0A%09%7D%0A%0A%09public ConstantInfo%5B%5D getPool() %7B%0A%09%09return pool;
 %0A%09%7D%0A

Add constant-pool table.