code: private static void handleRemainingCharIfAny(final String messagePattern, final int len,
              final StringBuilder buffer, final int escapeCounter, final int i) {
          if (i == len - 1) {
              final char curChar = messagePattern.charAt(i);
              handleLastChar(buffer, escapeCounter, curChar);
          }
      }
docs: 28 bytes (allows immediate JVM inlining: < 35 bytes) LOG4J2-1096