String () { String repeat = switch (getRepeatMode()) { case RepeatCount.UNLIMITED, RepeatCount.UNTIL_FAILURE, RepeatCount.UNTIL_SUCCESS -> " [*]"; case RepeatCount.N -> " [" + getRepeatCount() + "]"; default -> ""; }; String generatedName = myData.getGeneratedName(getConfigurationModule()); if (generatedName == null) return null; return generatedName + repeat; }