All Classes and Interfaces
Class
Description
A visitor that targets the arguments of Mockito methods `given`, `verify`, and `when`.
Finds usages of fields inside annotations.
The rule checks for the use of "execute", "executeQuery" and "executeUpdate" methods
on a Statement inside a loop or a "forEach" on Iterables, Maps and Streams.
Methods marked with Spring
@EventListener
should have at most one argument.Provides information about tags in JavaDoc and Markdown documentation comments.
Current implementation raises the issue only for the fields used in one method
Rule S6905 flags issues a query that selects all fields is executed.
For internal use only.
Rule S6889 flags issues when any sensor defined in
ReleaseSensorsCheck.AcquireReleaseSensor is not released.Methods annotated
@Scheduled should not have any arguments,
because it causes a runtime exception.This rules deprecates "java:S4424" (also known as "squid:S4424").
Suggest that
stringBuilder.append("text1" + "text2") is replaced with
stringBuilder.append("text1").append("text2").Implement rule that
Represents the three possible values in three-valued logic.
Use `var` instead of a type with unnamed variable (`_`) in foreach and try-with-resources.
Check for collections whose content is not used,
that is, the only operations on them are adding and removing elements.
Check that `StringBuilder` and `StringBuffer` instances are consumed by calling `toString()` or in a similar way.
Utility functions related to
value-based classes.