public boolean requiresTransitively(String requirementName) {
    for (ModuleRequires require : getRequires()) {
      if (Objects.equals(require.getName(), requirementName)) {
        return require.getFlags().isTransitive();
      }
    }
    return false;
  }
public boolean requiresTransitively(String requirementName)