public NOM(SystemObject system) {
    classesMap = new HashMap<String, Double>();

    Set<ClassObject> classes = system.getClassObjects();

    for (ClassObject classObject : classes) {
      double methods = computeMethods(classObject);
      if (methods != -1) {
        classesMap.put(classObject.getName(), methods);
      }
    }
  }
  private int computeMethods(ClassObject classObject) {

    List<MethodObject> methods = classObject.getMethodList();
    return (methods.size());
  }