Class PeriodGetTemporalUnit

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

public final class PeriodGetTemporalUnit extends BugChecker implements BugChecker.MethodInvocationTreeMatcher
Bans calls to Period.get(temporalUnit) where temporalUnit is not YEARS, MONTHS, or DAYS.
See Also: