private MethodInfo convertToMethodInfo(ByteBuffer byteBuffer , Map<Integer,ConstantPool> cpMap) throws ClassFileFormatException {
		logger.debug("[MethodInfo]------------------------");
		MethodInfo methodInfo = new MethodInfo();
		methodInfo.setAccessFlags(byteBuffer.getShort());	// access_flags(2byte)
		methodInfo.setNameIndex(byteBuffer.getShort());
		logger.debug("\tNameIndex : " + cpMap.get(methodInfo.getNameIndex()).toString());
		methodInfo.setDescriptorIndex(byteBuffer.getShort());
		logger.debug("\tDescriptorIndex : " + cpMap.get(methodInfo.getDescriptorIndex()).toString());
		methodInfo.setAttributesCount(byteBuffer.getShort());
		logger.debug("\tAttributeCount : " + methodInfo.getAttributesCount());
		if (methodInfo.getAttributesCount() > 0) {
			Attribute[] attributes = new AttributeInfo[methodInfo.getAttributesCount()];
			int i = 0;
			AttributeLogic attributeLogic = new AttributeLogic();
			while (i < methodInfo.getAttributesCount()) {
				attributes[i] = attributeLogic.convertToAttribute(byteBuffer, cpMap);
				i++;
			}
			methodInfo.setAttributes(attributes);
		}
		return methodInfo;
	}