TimeRules
SUGGESTION
Simplification
Suppression
Disable all rules by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$).*
as compiler argument.
Table of contents
- ClockInstant
- UtcConstant
- LocalDateOfInstant
- LocalDateTimeOfInstant
- LocalTimeOfInstant
- OffsetDateTimeOfInstant
- InstantAtOffset
- OffsetTimeOfInstant
- InstantAtZone
- UtcClock
- EpochInstant
- InstantIsBefore
- InstantIsAfter
- LocalTimeMin
- LocalDateAtStartOfDay
- ChronoLocalDateIsBefore
- ChronoLocalDateIsAfter
- ChronoLocalDateTimeIsBefore
- ChronoLocalDateTimeIsAfter
- ChronoZonedDateTimeIsBefore
- ChronoZonedDateTimeIsAfter
- OffsetDateTimeIsAfter
- OffsetDateTimeIsBefore
- ZeroDuration
- DurationOfDays
- DurationOfHours
- DurationOfMillis
- DurationOfMinutes
- DurationOfNanos
- DurationOfSeconds
- DurationBetweenInstants
- DurationBetweenOffsetDateTimes
- DurationIsZero
- ZeroPeriod
- LocalDatePlusDays
- LocalDatePlusWeeks
- LocalDatePlusMonths
- LocalDatePlusYears
- LocalDateMinusDays
- LocalDateMinusWeeks
- LocalDateMinusMonths
- LocalDateMinusYears
- LocalTimePlusNanos
- LocalTimePlusSeconds
- LocalTimePlusMinutes
- LocalTimePlusHours
- LocalTimeMinusNanos
- LocalTimeMinusSeconds
- LocalTimeMinusMinutes
- LocalTimeMinusHours
- OffsetTimePlusNanos
- OffsetTimePlusSeconds
- OffsetTimePlusMinutes
- OffsetTimePlusHours
- OffsetTimeMinusNanos
- OffsetTimeMinusSeconds
- OffsetTimeMinusMinutes
- OffsetTimeMinusHours
- LocalDateTimePlusNanos
- LocalDateTimePlusSeconds
- LocalDateTimePlusMinutes
- LocalDateTimePlusHours
- LocalDateTimePlusDays
- LocalDateTimePlusWeeks
- LocalDateTimePlusMonths
- LocalDateTimePlusYears
- LocalDateTimeMinusNanos
- LocalDateTimeMinusSeconds
- LocalDateTimeMinusMinutes
- LocalDateTimeMinusHours
- LocalDateTimeMinusDays
- LocalDateTimeMinusWeeks
- LocalDateTimeMinusMonths
- LocalDateTimeMinusYears
- OffsetDateTimePlusNanos
- OffsetDateTimePlusSeconds
- OffsetDateTimePlusMinutes
- OffsetDateTimePlusHours
- OffsetDateTimePlusDays
- OffsetDateTimePlusWeeks
- OffsetDateTimePlusMonths
- OffsetDateTimePlusYears
- OffsetDateTimeMinusNanos
- OffsetDateTimeMinusSeconds
- OffsetDateTimeMinusMinutes
- OffsetDateTimeMinusHours
- OffsetDateTimeMinusDays
- OffsetDateTimeMinusWeeks
- OffsetDateTimeMinusMonths
- OffsetDateTimeMinusYears
- ZonedDateTimePlusNanos
- ZonedDateTimePlusSeconds
- ZonedDateTimePlusMinutes
- ZonedDateTimePlusHours
- ZonedDateTimePlusDays
- ZonedDateTimePlusWeeks
- ZonedDateTimePlusMonths
- ZonedDateTimePlusYears
- ZonedDateTimeMinusNanos
- ZonedDateTimeMinusSeconds
- ZonedDateTimeMinusMinutes
- ZonedDateTimeMinusHours
- ZonedDateTimeMinusDays
- ZonedDateTimeMinusWeeks
- ZonedDateTimeMinusMonths
- ZonedDateTimeMinusYears
ClockInstant
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ClockInstant")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$ClockInstant).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
UtcConstant
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("UtcConstant")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$UtcConstant).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalDateOfInstant
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalDateOfInstant")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalDateOfInstant).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalDateTimeOfInstant
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalDateTimeOfInstant")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalDateTimeOfInstant).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalTimeOfInstant
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalTimeOfInstant")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalTimeOfInstant).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
OffsetDateTimeOfInstant
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("OffsetDateTimeOfInstant")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$OffsetDateTimeOfInstant).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
InstantAtOffset
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("InstantAtOffset")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$InstantAtOffset).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
OffsetTimeOfInstant
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("OffsetTimeOfInstant")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$OffsetTimeOfInstant).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
InstantAtZone
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("InstantAtZone")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$InstantAtZone).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
UtcClock
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("UtcClock")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$UtcClock).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
EpochInstant
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("EpochInstant")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$EpochInstant).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
InstantIsBefore
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("InstantIsBefore")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$InstantIsBefore).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
InstantIsAfter
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("InstantIsAfter")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$InstantIsAfter).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalTimeMin
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalTimeMin")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalTimeMin).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalDateAtStartOfDay
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalDateAtStartOfDay")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalDateAtStartOfDay).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ChronoLocalDateIsBefore
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ChronoLocalDateIsBefore")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$ChronoLocalDateIsBefore).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ChronoLocalDateIsAfter
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ChronoLocalDateIsAfter")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$ChronoLocalDateIsAfter).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ChronoLocalDateTimeIsBefore
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ChronoLocalDateTimeIsBefore")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$ChronoLocalDateTimeIsBefore).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ChronoLocalDateTimeIsAfter
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ChronoLocalDateTimeIsAfter")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$ChronoLocalDateTimeIsAfter).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ChronoZonedDateTimeIsBefore
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ChronoZonedDateTimeIsBefore")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$ChronoZonedDateTimeIsBefore).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ChronoZonedDateTimeIsAfter
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ChronoZonedDateTimeIsAfter")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$ChronoZonedDateTimeIsAfter).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
OffsetDateTimeIsAfter
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("OffsetDateTimeIsAfter")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$OffsetDateTimeIsAfter).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
OffsetDateTimeIsBefore
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("OffsetDateTimeIsBefore")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$OffsetDateTimeIsBefore).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ZeroDuration
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ZeroDuration")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$ZeroDuration).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
DurationOfDays
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("DurationOfDays")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$DurationOfDays).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
DurationOfHours
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("DurationOfHours")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$DurationOfHours).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
DurationOfMillis
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("DurationOfMillis")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$DurationOfMillis).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
DurationOfMinutes
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("DurationOfMinutes")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$DurationOfMinutes).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
DurationOfNanos
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("DurationOfNanos")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$DurationOfNanos).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
DurationOfSeconds
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("DurationOfSeconds")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$DurationOfSeconds).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
DurationBetweenInstants
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("DurationBetweenInstants")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$DurationBetweenInstants).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
DurationBetweenOffsetDateTimes
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("DurationBetweenOffsetDateTimes")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$DurationBetweenOffsetDateTimes).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
DurationIsZero
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("DurationIsZero")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$DurationIsZero).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ZeroPeriod
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ZeroPeriod")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$ZeroPeriod).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalDatePlusDays
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalDatePlusDays")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalDatePlusDays).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalDatePlusWeeks
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalDatePlusWeeks")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalDatePlusWeeks).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalDatePlusMonths
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalDatePlusMonths")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalDatePlusMonths).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalDatePlusYears
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalDatePlusYears")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalDatePlusYears).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalDateMinusDays
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalDateMinusDays")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalDateMinusDays).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalDateMinusWeeks
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalDateMinusWeeks")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalDateMinusWeeks).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalDateMinusMonths
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalDateMinusMonths")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalDateMinusMonths).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalDateMinusYears
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalDateMinusYears")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalDateMinusYears).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalTimePlusNanos
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalTimePlusNanos")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalTimePlusNanos).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalTimePlusSeconds
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalTimePlusSeconds")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalTimePlusSeconds).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalTimePlusMinutes
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalTimePlusMinutes")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalTimePlusMinutes).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalTimePlusHours
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalTimePlusHours")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalTimePlusHours).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalTimeMinusNanos
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalTimeMinusNanos")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalTimeMinusNanos).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalTimeMinusSeconds
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalTimeMinusSeconds")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalTimeMinusSeconds).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalTimeMinusMinutes
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalTimeMinusMinutes")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalTimeMinusMinutes).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalTimeMinusHours
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalTimeMinusHours")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalTimeMinusHours).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
OffsetTimePlusNanos
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("OffsetTimePlusNanos")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$OffsetTimePlusNanos).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
OffsetTimePlusSeconds
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("OffsetTimePlusSeconds")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$OffsetTimePlusSeconds).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
OffsetTimePlusMinutes
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("OffsetTimePlusMinutes")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$OffsetTimePlusMinutes).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
OffsetTimePlusHours
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("OffsetTimePlusHours")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$OffsetTimePlusHours).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
OffsetTimeMinusNanos
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("OffsetTimeMinusNanos")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$OffsetTimeMinusNanos).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
OffsetTimeMinusSeconds
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("OffsetTimeMinusSeconds")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$OffsetTimeMinusSeconds).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
OffsetTimeMinusMinutes
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("OffsetTimeMinusMinutes")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$OffsetTimeMinusMinutes).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
OffsetTimeMinusHours
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("OffsetTimeMinusHours")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$OffsetTimeMinusHours).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalDateTimePlusNanos
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalDateTimePlusNanos")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalDateTimePlusNanos).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalDateTimePlusSeconds
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalDateTimePlusSeconds")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalDateTimePlusSeconds).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalDateTimePlusMinutes
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalDateTimePlusMinutes")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalDateTimePlusMinutes).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalDateTimePlusHours
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalDateTimePlusHours")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalDateTimePlusHours).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalDateTimePlusDays
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalDateTimePlusDays")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalDateTimePlusDays).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalDateTimePlusWeeks
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalDateTimePlusWeeks")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalDateTimePlusWeeks).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalDateTimePlusMonths
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalDateTimePlusMonths")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalDateTimePlusMonths).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalDateTimePlusYears
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalDateTimePlusYears")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalDateTimePlusYears).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalDateTimeMinusNanos
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalDateTimeMinusNanos")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalDateTimeMinusNanos).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalDateTimeMinusSeconds
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalDateTimeMinusSeconds")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalDateTimeMinusSeconds).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalDateTimeMinusMinutes
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalDateTimeMinusMinutes")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalDateTimeMinusMinutes).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalDateTimeMinusHours
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalDateTimeMinusHours")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalDateTimeMinusHours).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalDateTimeMinusDays
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalDateTimeMinusDays")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalDateTimeMinusDays).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalDateTimeMinusWeeks
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalDateTimeMinusWeeks")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalDateTimeMinusWeeks).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalDateTimeMinusMonths
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalDateTimeMinusMonths")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalDateTimeMinusMonths).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
LocalDateTimeMinusYears
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("LocalDateTimeMinusYears")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$LocalDateTimeMinusYears).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
OffsetDateTimePlusNanos
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("OffsetDateTimePlusNanos")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$OffsetDateTimePlusNanos).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
OffsetDateTimePlusSeconds
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("OffsetDateTimePlusSeconds")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$OffsetDateTimePlusSeconds).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
OffsetDateTimePlusMinutes
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("OffsetDateTimePlusMinutes")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$OffsetDateTimePlusMinutes).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
OffsetDateTimePlusHours
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("OffsetDateTimePlusHours")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$OffsetDateTimePlusHours).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
OffsetDateTimePlusDays
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("OffsetDateTimePlusDays")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$OffsetDateTimePlusDays).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
OffsetDateTimePlusWeeks
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("OffsetDateTimePlusWeeks")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$OffsetDateTimePlusWeeks).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
OffsetDateTimePlusMonths
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("OffsetDateTimePlusMonths")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$OffsetDateTimePlusMonths).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
OffsetDateTimePlusYears
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("OffsetDateTimePlusYears")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$OffsetDateTimePlusYears).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
OffsetDateTimeMinusNanos
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("OffsetDateTimeMinusNanos")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$OffsetDateTimeMinusNanos).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
OffsetDateTimeMinusSeconds
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("OffsetDateTimeMinusSeconds")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$OffsetDateTimeMinusSeconds).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
OffsetDateTimeMinusMinutes
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("OffsetDateTimeMinusMinutes")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$OffsetDateTimeMinusMinutes).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
OffsetDateTimeMinusHours
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("OffsetDateTimeMinusHours")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$OffsetDateTimeMinusHours).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
OffsetDateTimeMinusDays
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("OffsetDateTimeMinusDays")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$OffsetDateTimeMinusDays).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
OffsetDateTimeMinusWeeks
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("OffsetDateTimeMinusWeeks")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$OffsetDateTimeMinusWeeks).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
OffsetDateTimeMinusMonths
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("OffsetDateTimeMinusMonths")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$OffsetDateTimeMinusMonths).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
OffsetDateTimeMinusYears
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("OffsetDateTimeMinusYears")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$OffsetDateTimeMinusYears).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ZonedDateTimePlusNanos
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ZonedDateTimePlusNanos")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$ZonedDateTimePlusNanos).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ZonedDateTimePlusSeconds
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ZonedDateTimePlusSeconds")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$ZonedDateTimePlusSeconds).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ZonedDateTimePlusMinutes
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ZonedDateTimePlusMinutes")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$ZonedDateTimePlusMinutes).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ZonedDateTimePlusHours
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ZonedDateTimePlusHours")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$ZonedDateTimePlusHours).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ZonedDateTimePlusDays
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ZonedDateTimePlusDays")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$ZonedDateTimePlusDays).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ZonedDateTimePlusWeeks
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ZonedDateTimePlusWeeks")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$ZonedDateTimePlusWeeks).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ZonedDateTimePlusMonths
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ZonedDateTimePlusMonths")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$ZonedDateTimePlusMonths).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ZonedDateTimePlusYears
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ZonedDateTimePlusYears")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$ZonedDateTimePlusYears).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ZonedDateTimeMinusNanos
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ZonedDateTimeMinusNanos")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$ZonedDateTimeMinusNanos).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ZonedDateTimeMinusSeconds
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ZonedDateTimeMinusSeconds")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$ZonedDateTimeMinusSeconds).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ZonedDateTimeMinusMinutes
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ZonedDateTimeMinusMinutes")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$ZonedDateTimeMinusMinutes).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ZonedDateTimeMinusHours
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ZonedDateTimeMinusHours")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$ZonedDateTimeMinusHours).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ZonedDateTimeMinusDays
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ZonedDateTimeMinusDays")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$ZonedDateTimeMinusDays).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ZonedDateTimeMinusWeeks
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ZonedDateTimeMinusWeeks")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$ZonedDateTimeMinusWeeks).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ZonedDateTimeMinusMonths
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ZonedDateTimeMinusMonths")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$ZonedDateTimeMinusMonths).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ZonedDateTimeMinusYears
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ZonedDateTimeMinusYears")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!TimeRules\$ZonedDateTimeMinusYears).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.