Class JavaDurationGetSecondsGetNano

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

public final class JavaDurationGetSecondsGetNano
extends BugChecker
implements BugChecker.MethodInvocationTreeMatcher
This checker warns about calls to duration.getNano() without a corresponding "nearby" call to duration.getSeconds().
Author:
kak@google.com (Kurt Alfred Kluever)
See Also:
Serialized Form