Class ErrorProneTimings

java.lang.Object
com.google.errorprone.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(com.sun.tools.javac.util.Context 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 com.google.common.collect.ImmutableMap<String,Duration> timings()
      Returns the elapsed durations of each timer.
    • initializationTime

      public Duration initializationTime()
      Returns the elapsed initialization time.