Class DurationToLongTimeUnit

java.lang.Object
com.google.errorprone.bugpatterns.BugChecker
com.google.errorprone.bugpatterns.time.DurationToLongTimeUnit
All Implemented Interfaces:
BugChecker.MethodInvocationTreeMatcher, Suppressible, Serializable

public final class DurationToLongTimeUnit
extends BugChecker
implements BugChecker.MethodInvocationTreeMatcher
Reports an error when a Duration or Instant is incorrectly decomposed in order to call an API which accepts a <long, TimeUnit> pair.
See Also:
Serialized Form