Package tech.picnic.errorprone.bugpatterns


@CheckReturnValue @ParametersAreNonnullByDefault package tech.picnic.errorprone.bugpatterns
Picnic Error Prone Contrib checks.
  • Classes
    Class
    Description
    A BugChecker which flags ambiguous @JsonCreators in enums.
    A BugChecker which flags AssertJ isEqualTo(null) checks for simplification.
    A BugChecker which flags redundant @Autowired constructor annotations.
    A BugChecker which flags annotations that could be written more concisely.
    A BugChecker which flags Collectors that don't clearly express (im)mutability.
    A BugChecker which flags empty methods that seemingly can simply be deleted.
    A BugChecker which flags improperly formatted Error Prone test code.
    A BugChecker which flags Ordering.explicit(Object, Object[])} invocations listing a subset of an enum type's values.
    A BugChecker which flags usages of Flux.flatMap(Function) and Flux.flatMapSequential(Function).
    A BugChecker which flags string concatenations that produce a format string; in such cases the string concatenation should instead be deferred to the invoked method.
    A BugChecker that flags redundant identity conversions.
    A BugChecker which flags SortedSet property declarations inside @Value.Immutable- and @Value.Modifiable-annotated types that lack a @Value.NaturalOrder or @Value.ReverseOrder annotation.
    A BugChecker which flags non-canonical JUnit method declarations.
    A BugChecker which flags annotation array listings which aren't sorted lexicographically.
    A BugChecker that flags annotations that are not lexicographically sorted.
    A BugChecker which flags lambda expressions that can be replaced with method references.
    A BugChecker that flags likely missing Refaster annotations.
    A BugChecker which flags method invocations for which all arguments are wrapped using ArgumentMatchers.eq(boolean); this is redundant.
    A BugChecker which flags nesting of Optionals.
    A BugChecker which flags Mono operations that are known to be vacuous, given that they are invoked on a Mono that is known not to complete empty.
    A BugChecker which flags Comparator#comparing* invocations that can be replaced with an equivalent alternative so as to avoid unnecessary (un)boxing.
    A BugChecker which flags redundant explicit string conversions.
    A BugChecker which flags unnecessary Refaster.anyOf(Object[]) usages.
    A BugChecker which flags @RequestMapping methods that have one or more parameters that appear to lack a relevant annotation.
    A BugChecker which flags @RequestParam parameters with an unsupported type.
    A BugChecker which flags methods with Spring's @Scheduled annotation that lack New Relic Agent's @Trace(dispatcher = true).
    A BugChecker which flags SLF4J usages that are likely to be in error.
    A BugChecker which flags @RequestMapping annotations that can be written more concisely.
    A BugChecker which flags methods and constants that can and should be statically imported.
    A BugChecker which flags illegal time-zone related operations.