Class ProtoDurationGetSecondsGetNano

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

public final class ProtoDurationGetSecondsGetNano
extends BugChecker
implements BugChecker.MethodInvocationTreeMatcher
This checker warns about accessing the underlying nanosecond-adjustment field of a duration without a "nearby" access of the underlying seconds field.
Author:
kak@google.com (Kurt Alfred Kluever)
See Also:
Serialized Form