Avoid instantiation with new
Read more
Avoid ‘switch’ with too many ‘case’ statements
Read more
Variables should not be shadowed
Read more
In switch ‘default’ clauses should be last
Read more
A field should not duplicate the name of its containing class
Read more
Use == instead of ?: when dealing with nullable boolean
Read more
Prefer using expression Form for ‘if’ or ‘when’ in place of statement syntax
Read more
Do not use a labeled return for the last statement in a lambda
Read more
Avoid using multiple labeled returns in lambda expression
Read more
Use Elvis operator to avoid unclear syntax pattern
Read more