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.
    • timings

      public com.google.common.collect.ImmutableMap<String,​Duration> timings()
      Returns the elapsed durations of each timer.