Interface MacroCounter

  • All Known Implementing Classes:
    DefaultMacroCounter

    public interface MacroCounter
    Used to count macro usages through the rendering process. Implementations should be thread-safe
    Since:
    5.6
    • Method Detail

      • addMacroUsage

        void addMacroUsage​(MacroDefinition macroDefinition,
                           @Nullable Macro macro)
        Record a single usage of the given macro.
        Parameters:
        macro - null if this was an attempt to render an unknown macro