Class ParameterFormatter.MessagePatternAnalysis

    • Field Detail

      • PLACEHOLDER_CHAR_INDEX_BUFFER_INITIAL_SIZE

        private static final int PLACEHOLDER_CHAR_INDEX_BUFFER_INITIAL_SIZE
        The size of the placeholderCharIndices buffer to be allocated if it is found to be null.
        See Also:
        Constant Field Values
      • PLACEHOLDER_CHAR_INDEX_BUFFER_SIZE_INCREMENT

        private static final int PLACEHOLDER_CHAR_INDEX_BUFFER_SIZE_INCREMENT
        The size placeholderCharIndices buffer will be extended with if it has found to be insufficient.
        See Also:
        Constant Field Values
      • placeholderCount

        int placeholderCount
        The total number of argument placeholder occurrences.
      • placeholderCharIndices

        int[] placeholderCharIndices
        The array of indices pointing to the first character of the found argument placeholder occurrences.
      • escapedCharFound

        boolean escapedCharFound
        Flag indicating if an escaped (i.e., `\`-prefixed) character is found.
    • Constructor Detail

      • MessagePatternAnalysis

        MessagePatternAnalysis()
    • Method Detail

      • ensurePlaceholderCharIndicesCapacity

        private void ensurePlaceholderCharIndicesCapacity​(int argCount)