private ReferenceConstantPool convertToReferenceInfo(ByteBuffer byteBuffer , ConstantPoolType cpType) {
		ReferenceConstantPool cp = null;
		switch (cpType) {
		case FIELDREF:
			cp = new FieldrefConstantPool();
			break;
		case INTERFACEMETHODREF:
			cp = new InterfaceMethodrefConstantPool();
			break;
		case METHODREF:
			cp = new MethodrefConstantPool();
			break;
		default:
			return null;
		}
		
		cp.setClassIndex(byteBuffer.getShort());
		cp.setNameAndTypeIndex(byteBuffer.getShort());
		return cp;
	}