Package tech.picnic.errorprone.bugpatterns
@CheckReturnValue
@ParametersAreNonnullByDefault
package tech.picnic.errorprone.bugpatterns
Picnic Error Prone Contrib checks.
-
ClassesClassDescriptionA
BugCheckerwhich flags ambiguous@JsonCreators in enums.ABugCheckerwhich flags AssertJisEqualTo(null)checks for simplification.ABugCheckerwhich flags redundant@Autowiredconstructor annotations.ABugCheckerwhich flags annotations that could be written more concisely.ABugCheckerwhich flagsCollectorsthat don't clearly express (im)mutability.ABugCheckerwhich flags empty methods that seemingly can simply be deleted.ABugCheckerwhich flags improperly formatted Error Prone test code.ABugCheckerwhich flagsOrdering.explicit(Object, Object[])} invocations listing a subset of an enum type's values.ABugCheckerwhich flags usages ofFlux.flatMap(Function)andFlux.flatMapSequential(Function).ABugCheckerwhich flags string concatenations that produce a format string; in such cases the string concatenation should instead be deferred to the invoked method.ABugCheckerthat flags redundant identity conversions.ABugCheckerwhich flagsSortedSetproperty declarations inside@Value.Immutable- and@Value.Modifiable-annotated types that lack a@Value.NaturalOrderor@Value.ReverseOrderannotation.ABugCheckerwhich flags non-canonical JUnit method declarations.ABugCheckerwhich flags annotation array listings which aren't sorted lexicographically.ABugCheckerthat flags annotations that are not lexicographically sorted.ABugCheckerwhich flags lambda expressions that can be replaced with method references.ABugCheckerthat flags likely missing Refaster annotations.ABugCheckerwhich flags method invocations for which all arguments are wrapped usingArgumentMatchers.eq(boolean); this is redundant.ABugCheckerwhich flags nesting ofOptionals.ABugCheckerwhich flagsMonooperations that are known to be vacuous, given that they are invoked on aMonothat is known not to complete empty.ABugCheckerwhich flagsComparator#comparing*invocations that can be replaced with an equivalent alternative so as to avoid unnecessary (un)boxing.ABugCheckerwhich flags redundant explicit string conversions.ABugCheckerwhich flags unnecessaryRefaster.anyOf(Object[])usages.ABugCheckerwhich flags@RequestMappingmethods that have one or more parameters that appear to lack a relevant annotation.ABugCheckerwhich flags@RequestParamparameters with an unsupported type.ABugCheckerwhich flags methods with Spring's@Scheduledannotation that lack New Relic Agent's@Trace(dispatcher = true).ABugCheckerwhich flags SLF4J usages that are likely to be in error.ABugCheckerwhich flags@RequestMappingannotations that can be written more concisely.ABugCheckerwhich flags methods and constants that can and should be statically imported.ABugCheckerwhich flags illegal time-zone related operations.