docs: public static String removeModifierSuffix(String fullName) {
          int indexOfFirstOpeningToken = fullName.indexOf(MODIFIER_OPENING_TOKEN);
          if (indexOfFirstOpeningToken == -1) {
              return fullName;
          }
          int indexOfSecondOpeningToken = fullName.lastIndexOf(MODIFIER_OPENING_TOKEN);
          if (indexOfSecondOpeningToken != indexOfFirstOpeningToken) {
              throw new IllegalArgumentException("Attribute name '" + fullName
                      + "' is not valid as it contains more than one " + MODIFIER_OPENING_TOKEN);
          }
          int indexOfFirstClosingToken = fullName.indexOf(MODIFIER_CLOSING_TOKEN);
          if (indexOfFirstClosingToken != fullName.length() - 1) {
              throw new IllegalArgumentException("Attribute name '" + fullName
                      + "' is not valid as the last character is not " + MODIFIER_CLOSING_TOKEN);
          }
  
          return fullName.substring(0, indexOfFirstOpeningToken);
      }