All Classes and Interfaces

Class
Description
Most AJavaparserMutator will trigger over an Expression
Enables common behavior to JavaParser-based rules
Most AJavaparserMutator will trigger over an Statement
Turns 'Arrays.asList("1", 2).stream()' into 'Arrays.stream("1", 2)'
Helps preparing rules
Deprecated.
Turns 'boolean b = (x > 1 ) ? true : callback.doIt() || true' into 'if (x > 1) { ...
Turns `throws RuntimeException` into ``
This mutator will apply all IMutator fixing a CheckStyle rules.
Turns 'd == Double.NaN' into 'Double.isNaN(d)'
cases inspired from #description
Turns '{}' into ''
Prevent relying .equals on Enum types
An IMutator which can edit a JavaParser Node
Helpers knowing what could be the impact of given rule
Formatter for Java
This class is dedicated to refactoring.
 
Migrate from JUnit4 to JUnit5/Jupiter.
Turns `.stream(s -> s.size())` into `.stream(String::size)`
Turns '.stream(s -> {return s.subString(0, 2)})' into '.stream(s -> s.subString(0, 2))'
Switch o.equals("someString") to "someString".equals(o)
Turns 'int i = 10;' into 'var i = 10'
Order modifiers according the the Java specification.
Make easier processing on code-tree
Turns '!o.isEmpty()' into 'o.isPresent()'
This mutator will apply all IMutator fixing a PMD rules.
Turns `new Double(d)` into `Double.valueOf(d)`
This mutator will apply all IMutator considered safe (e.g.
This mutator will apply all IMutator considered safe (e.g.
This mutator will apply all IMutator fixing a Sonar rule.
Turns 's.filter(p).findAny().isPresent()' into 's.anyMatch(predicate)'
Turns `line.startsWith("#") || line.isEmpty()` into `line.isEmpty() || line.charAt('0') == '#'`
Turns '"someString".toString()' into '"someString"'
Turns `Integer integer = Integer.valueOf(2)` into `Integer integer = 2`
Turns 'java.lang.String' into 'String'
Collects the ImportDeclaration associated to a Node into a List
Remove imports from a Java source file by analyzing ImportDeclaration.
Turns 'public static final someMethod();' into 'someMethod();' in interfaces
Turns `int i = 0;;` into `int i = 0;`
Deprecated.
Deprecated.
Turns 's.indexOf("s")’ into ’s.indexOf('s')'.
Migrate from 'm.size() == 0’ to ’m.isEmpty()'.
Turns '"a\r\n" + "b\r\n"’ into ’"""aEOLbEOL"""'
Turns 'int i = 1234567’ into ’int i = 1_234_567'