Class ErrorProneTimings


public final class ErrorProneTimings extends Object
A collection of timing data for the runtime of individual checks.
  • Method Details

    • instance

      public static ErrorProneTimings instance( context)
    • span

      public AutoCloseable span(Suppressible suppressible)
      Creates a timing span for the given Suppressible.
    • initializationTimeSpan

      public AutoCloseable initializationTimeSpan()
      Creates a timing span for initialization.
    • timings

      public<String,Duration> timings()
      Returns the elapsed durations of each timer.
    • initializationTime

      public Duration initializationTime()
      Returns the elapsed initialization time.