IntelliJ IDEA 2020.3 Help

List of Java inspections

Arquillian

Inspection name Default state Default severity
Arquillian test class should be properly prepared the Enabled checkbox Enabled Error icon Error
Arquillian test class should have method with @Deployment annotation the Enabled checkbox Enabled Error icon Error
Arquillian test class should have only one method with @Deployment annotation the Enabled checkbox Enabled Error icon Error
Wrong return type of @Deployment method the Enabled checkbox Enabled Error icon Error
Wrong signature of @Deployment method the Enabled checkbox Enabled Error icon Error

Abstraction issues

Inspection name Default state Default severity
Cast to a concrete class the Disabled checkbox Disabled Warning icon Warning
Chain of instanceof checks the Disabled checkbox Disabled Warning icon Warning
Class references one of its subclasses the Disabled checkbox Disabled Warning icon Warning
Feature envy the Disabled checkbox Disabled Warning icon Warning
instanceof a concrete class the Disabled checkbox Disabled Warning icon Warning
instanceof check for this the Disabled checkbox Disabled Warning icon Warning
Interface method clashes with method in java.lang.Object the Enabled checkbox Enabled Warning icon Warning
Local variable of concrete class the Disabled checkbox Disabled Warning icon Warning
Magic number the Disabled checkbox Disabled Warning icon Warning
Method parameter to concrete class the Disabled checkbox Disabled Warning icon Warning
Method return of concrete class the Disabled checkbox Disabled Warning icon Warning
Optional used as field or parameter type the Enabled checkbox Enabled Warning icon Warning
Overly strong type cast the Disabled checkbox Disabled Warning icon Warning
Private method only used from inner class the Disabled checkbox Disabled Warning icon Warning
public method not exposed in interface the Disabled checkbox Disabled Warning icon Warning
public method with boolean parameter the Disabled checkbox Disabled Warning icon Warning
Static field of concrete class the Disabled checkbox Disabled Warning icon Warning
Static member used only from one other class the Disabled checkbox Disabled Warning icon Warning
Type may be weakened the Disabled checkbox Disabled Warning icon Warning
Type of instance field is concrete class the Disabled checkbox Disabled Warning icon Warning

Assignment issues

Inspection name Default state Default severity
Assignment replaceable with operator assignment the Disabled checkbox Disabled Warning icon Warning
Assignment to for loop parameter the Disabled checkbox Disabled Warning icon Warning
Assignment to catch block parameter the Disabled checkbox Disabled Warning icon Warning
Assignment to lambda parameter the Disabled checkbox Disabled Warning icon Warning
Assignment to method parameter the Disabled checkbox Disabled Warning icon Warning
Assignment to static field from instance context the Disabled checkbox Disabled Warning icon Warning
Assignment used as condition the Disabled checkbox Disabled Warning icon Warning
Constructor assigns value to field defined in superclass the Disabled checkbox Disabled Warning icon Warning
null assignment the Disabled checkbox Disabled Warning icon Warning
Results of assignment used the Disabled checkbox Disabled Warning icon Warning
Value of ++ or -- used the Disabled checkbox Disabled Warning icon Warning

Bitwise operation issues

Inspection name Default state Default severity
Incompatible bitwise mask operation the Enabled checkbox Enabled Warning icon Warning
Pointless bitwise expression the Enabled checkbox Enabled Warning icon Warning
Shift operation by inappropriate constant the Enabled checkbox Enabled Warning icon Warning

Class metrics

Inspection name Default state Default severity
Anonymous inner class with too many methods the Disabled checkbox Disabled Warning icon Warning
Class too deep in inheritance tree the Disabled checkbox Disabled Warning icon Warning
Class with too many constructors the Disabled checkbox Disabled Warning icon Warning
Class with too many fields the Disabled checkbox Disabled Warning icon Warning
Class with too many methods the Disabled checkbox Disabled Warning icon Warning
Inner class too deeply nested the Disabled checkbox Disabled Warning icon Warning
Overly complex anonymous class the Disabled checkbox Disabled Warning icon Warning
Overly complex class the Disabled checkbox Disabled Warning icon Warning
Overly coupled class the Disabled checkbox Disabled Warning icon Warning

Class structure

Inspection name Default state Default severity
Abstract class may be interface the Enabled checkbox Enabled Info icon No highlighting, only fix
Anonymous inner class the Disabled checkbox Disabled Warning icon Warning
Class may extend adapter instead of implementing listener the Disabled checkbox Disabled Warning icon Warning
Class name differs from file name the Disabled checkbox Disabled Warning icon Warning
Class with only private constructors should be declared final the Disabled checkbox Disabled Warning icon Warning
Constant declared in abstract class the Disabled checkbox Disabled Warning icon Warning
Constant declared in interface the Disabled checkbox Disabled Warning icon Warning
Empty class the Disabled checkbox Disabled Warning icon Warning
Field can be local the Enabled checkbox Enabled Warning icon Warning
final class the Disabled checkbox Disabled Warning icon Warning
final method the Disabled checkbox Disabled Warning icon Warning
final method in final class the Disabled checkbox Disabled Warning icon Warning
Inner class of interface the Disabled checkbox Disabled Warning icon Warning
Interface may be annotated @FunctionalInterface the Disabled checkbox Disabled Warning icon Warning
Limited-scope inner class the Disabled checkbox Disabled Warning icon Warning
Marker interface the Disabled checkbox Disabled Warning icon Warning
Method returns per-class constant the Inspect Code icon the Disabled checkbox Disabled Warning icon Warning
Multiple top level classes in single file the Disabled checkbox Disabled Warning icon Warning
Non-op method in abstract class the Disabled checkbox Disabled Warning icon Warning
Non-final field in enum the Disabled checkbox Disabled Warning icon Warning
Non-static initializer the Disabled checkbox Disabled Warning icon Warning
Parameter can be local the Enabled checkbox Enabled Warning icon Warning
private method declared final the Enabled checkbox Enabled Warning icon Warning
private method in final class the Disabled checkbox Disabled Warning icon Warning
public constructor the Disabled checkbox Disabled Warning icon Warning
public constructor in non-public class the Disabled checkbox Disabled Warning icon Warning
Singleton the Disabled checkbox Disabled Warning icon Warning
static, non-final field the Disabled checkbox Disabled Warning icon Warning
static method declared final the Enabled checkbox Enabled Warning icon Warning
Utility class the Disabled checkbox Disabled Warning icon Warning
Utility class can be enum the Disabled checkbox Disabled Warning icon Warning
Utility class is not final the Disabled checkbox Disabled Warning icon Warning
Utility class with public constructor the Disabled checkbox Disabled Warning icon Warning
Utility class without public constructor the Disabled checkbox Disabled Warning icon Warning

Inspections labeled with the Inspect Code icon are not available in the editor and can be launched via Analyze | Inspect Code or Analyze | Run Inspection By Name.

Cloning issues

Inspection name Default state Default severity
clone() does not declare CloneNotSupportedException the Enabled checkbox Enabled Warning icon Warning
clone() instantiates objects with constructor the Disabled checkbox Disabled Warning icon Warning
clone() method in non-Cloneabe class the Disabled checkbox Disabled Warning icon Warning
clone() method in non-Cloneabe class the Disabled checkbox Disabled Warning icon Warning
clone() method not public the Disabled checkbox Disabled Warning icon Warning
clone() should have return type equal to the class it contains the Disabled checkbox Disabled Warning icon Warning
Cloneable class without clone() method the Disabled checkbox Disabled Warning icon Warning
Use of clone() Cloneable the Disabled checkbox Disabled Warning icon Warning

Code maturity

Inspection name Default state Default severity
Call to printStackTrace() the Disabled checkbox Disabled Warning icon Warning
Call to Thread.dumpStack() the Disabled checkbox Disabled Warning icon Warning
Deprecated API usage the Enabled checkbox Enabled Warning icon Warning
Deprecated method is still used the Enabled checkbox Enabled Warning icon Warning
Inspection suppression annotation the Disabled checkbox Disabled Warning icon Warning
Throwable printed to System.out the Enabled checkbox Enabled Warning icon Warning
Usage of API marked for removal the Enabled checkbox Enabled Error icon Error
Use of obsolete collection type the Disabled checkbox Disabled Warning icon Warning
Use of obsolete date-time API the Disabled checkbox Disabled Warning icon Warning
Use of System.out or System.err the Disabled checkbox Disabled Warning icon Warning

Code style issues

Inspection name Default state Default severity
Array can be replaced with enum values the Enabled checkbox Enabled Info icon No highlighting, only fix
Array creation without new expression the Enabled checkbox Enabled Info icon No highlighting, only fix
assert message is not a String the Disabled checkbox Disabled Warning icon Warning
Assignment can be joined with declaration the Enabled checkbox Enabled Info icon No highlighting, only fix
Block marker comment the Disabled checkbox Disabled Warning icon Warning
C-style array declaration the Enabled checkbox Enabled Warning icon Warning
Call to String.concat() can be replaced with + the Disabled checkbox Disabled Warning icon Warning
Can use bounded wildcard the Disabled checkbox Disabled Warning icon Warning
Chained equality comparisons the Disabled checkbox Disabled Warning icon Warning
Chained method calls the Disabled checkbox Disabled Warning icon Warning
Class explicitly extends java.lang.Object the Enabled checkbox Enabled Warning icon Warning
Code block contains single statement the Enabled checkbox Enabled Info icon No highlighting, only fix
Conditional can be replaced with Optional the Enabled checkbox Enabled Info icon No highlighting, only fix
Confusing octal escape sequence the Disabled checkbox Disabled Warning icon Warning
Constant expression can be evaluated the Enabled checkbox Enabled Info icon No highlighting, only fix
Constant on the wrong side of comparison the Disabled checkbox Disabled Warning icon Warning
Control flow statement without braces the Enabled checkbox Enabled Info icon No highlighting, only fix
Diamond can be replaced with explicit type arguments the Enabled checkbox Enabled Info icon No highlighting, only fix
equals() called on Enum value the Disabled checkbox Disabled Warning icon Warning
expression.equals("literal") rather than "literal".equals(expression) the Disabled checkbox Disabled Warning icon Warning
Field assignment can be moved to initializer the Enabled checkbox Enabled Info icon No highlighting, only fix
Field can be Final the Disabled checkbox Disabled Warning icon Warning
If statement can be replaced with ?:, && or || expression the Enabled checkbox Enabled Info icon No highlighting, only fix
Implicit call to super() the Disabled checkbox Disabled Warning icon Warning
Instance field access not qualified with this the Disabled checkbox Disabled Warning icon Warning
Instance field access not qualified with this the Disabled checkbox Disabled Warning icon Warning
Labeled switch rule can have code block the Enabled checkbox Enabled Info icon No highlighting, only fix
Labeled switch rule has redundant code block the Enabled checkbox Enabled Warning icon Warning
Lambda body can be code block the Enabled checkbox Enabled Info icon No highlighting, only fix
Lambda can be replaced with anonymous class the Enabled checkbox Enabled Info icon No highlighting, only fix
Lambda parameter type can be specified the Enabled checkbox Enabled Info icon No highlighting, only fix
'List.indexOf()' expression is replaceable with contains() the Disabled checkbox Disabled Warning icon Warning
Local variable or parameter can be final the Disabled checkbox Disabled Warning icon Warning
Method reference can be replaced with lambda the Enabled checkbox Enabled Info icon No highlighting, only fix
Missorted modifiers the Disabled checkbox Disabled Warning icon Warning
Multi-catch can be split into separate catch blocks the Enabled checkbox Enabled Info icon No highlighting, only fix
Multiple variables in one declaration the Enabled checkbox Enabled Info icon No highlighting, only fix
Nested method call the Disabled checkbox Disabled Warning icon Warning
Null value for Optional type the Enabled checkbox Enabled Warning icon Warning
Objects.equals() can be replaced with equals() the Enabled checkbox Enabled Info icon No highlighting, only fix
Optional can be replaced with sequence of if statements the Enabled checkbox Enabled Info icon No highlighting, only fix
Optional contains array or collection the Disabled checkbox Disabled Warning icon Warning
Optional.isPresent() can be replaced with functional-style expression the Enabled checkbox Enabled Warning icon Warning
Raw type can be generic the Enabled checkbox Enabled Info icon No highlighting, only fix
Redundant new expression in constant array creation the Disabled checkbox Disabled Warning icon Warning
Redundant field initialization the Disabled checkbox Disabled Warning icon Warning
Redundant interface declaration the Disabled checkbox Disabled Warning icon Warning
Redundant no-arg constructor the Disabled checkbox Disabled Warning icon Warning
return separated from the result computation the Enabled checkbox Enabled Info icon No highlighting, only fix
Return of this the Disabled checkbox Disabled Warning icon Warning
Simplifiable annotation the Disabled checkbox Disabled Warning icon Warning
Single-element annotation the Enabled checkbox Enabled Info icon No highlighting, only fix
size() == 0 replaceable with isEmpty() the Disabled checkbox Disabled Warning icon Warning
Standard Charset object can be used the Enabled checkbox Enabled Warning icon Warning
Stream API call chain can be replaced with loop the Enabled checkbox Enabled Info icon No highlighting, only fix
Subsequent steps can be fused into Stream API chain the Enabled checkbox Enabled Warning icon Warning
try statement with multiple resources can be split the Enabled checkbox Enabled Info icon No highlighting, only fix
Type parameter explicitly extends java.lang.Object the Enabled checkbox Enabled Warning icon Warning
Unclear expression the Enabled checkbox Enabled Info icon No highlighting, only fix
Unnecessarily qualified inner class access the Enabled checkbox Enabled Info icon No highlighting, only fix
Unnecessarily qualified static access the Disabled checkbox Disabled Warning icon Warning
Unnecessarily qualified statically imported element the Disabled checkbox Disabled Warning icon Warning
Unnecessary final on local variable or parameter the Disabled checkbox Disabled Warning icon Warning
Unnecessary null check before equals() call the Disabled checkbox Disabled Warning icon Warning
Unnecessary super qualifier the Disabled checkbox Disabled Warning icon Warning
Unnecessary this qualifier the Disabled checkbox Disabled Warning icon Warning
Unnecessary call to super() the Disabled checkbox Disabled Warning icon Warning
Unnecessary call to toString() the Disabled checkbox Disabled Warning icon Warning
Unnecessary code block the Enabled checkbox Enabled Info icon No highlighting, only fix
Unnecessary conversion to String the Enabled checkbox Enabled Warning icon Warning
Unnecessary enum modifier the Enabled checkbox Enabled Warning icon Warning
Unnecessary fully qualified name the Enabled checkbox Enabled Info icon No highlighting, only fix
Unnecessary interface modifier the Enabled checkbox Enabled Warning icon Warning
Unnecessary parentheses the Enabled checkbox Enabled Info icon No highlighting, only fix
Unnecessary qualifier for this or super the Disabled checkbox Disabled Warning icon Warning
Unnecessary semicolon the Enabled checkbox Enabled Warning icon Warning
Unqualified inner class access the Disabled checkbox Disabled Warning icon Warning
Unqualified static access the Disabled checkbox Disabled Warning icon Warning

Compiler issues

Inspection name Default state Default severity
Javac quirks the Enabled checkbox Enabled Warning icon Warning
Unchecked warning the Enabled checkbox Enabled Warning icon Warning

Concurrency annotation issues

Inspection name Default state Default severity
Instance member guarded by static field the Disabled checkbox Disabled Warning icon Warning
Non-final @GuardedBy field the Disabled checkbox Disabled Warning icon Warning
Non-final field in @Immutable class the Disabled checkbox Disabled Warning icon Warning
Static member guarded by instance filed or this the Disabled checkbox Disabled Warning icon Warning
Unguarded field access the Disabled checkbox Disabled Warning icon Warning
Unknown @GuardedBy field the Disabled checkbox Disabled Warning icon Warning

Control flow issues

Inspection name Default state Default severity
Assertion can be replaced with if statement the Enabled checkbox Enabled Info icon No highlighting, only fix
Boolean expression could be replaced with conditional expression the Disabled checkbox Disabled Warning icon Warning
break statement with label the Disabled checkbox Disabled Warning icon Warning
break statement the Disabled checkbox Disabled Warning icon Warning
Conditional break inside infinite loop the Enabled checkbox Enabled Warning icon Warning
Conditional can be pushed inside branch expression the Enabled checkbox Enabled Info icon No highlighting, only fix
Conditional expression (?:) the Enabled checkbox Enabled Info icon No highlighting, only fix
Conditional expression with identical branches the Disabled checkbox Disabled Warning icon Warning
Conditional expression with negated condition the Disabled checkbox Disabled Warning icon Warning
Constant conditional expression the Enabled checkbox Enabled Warning icon Warning
continue statement with label the Disabled checkbox Disabled Warning icon Warning
continue statement the Disabled checkbox Disabled Warning icon Warning
default not last case in switch statement the Disabled checkbox Disabled Warning icon Warning
Double negation the Enabled checkbox Enabled Warning icon Warning
Duplicate condition in if statement the Enabled checkbox Enabled Warning icon Warning
Duplicate condition on && or || the Disabled checkbox Disabled Warning icon Warning
Enum switch statement that misses case the Enabled checkbox Enabled Info icon No highlighting, only fix
Fallthrough in switch statement the Disabled checkbox Disabled Warning icon Warning
for loop may be replaced with while loop the Enabled checkbox Enabled Info icon No highlighting, only fix
for loop with missing components the Disabled checkbox Disabled Warning icon Warning
Idempotent loop body the Enabled checkbox Enabled Warning icon Warning
if statement could be replaced with conditional expression the Disabled checkbox Disabled Warning icon Warning
if statement with common parts the Enabled checkbox Enabled Weak Warning icon Weak Warning
if statement with negated condition the Disabled checkbox Disabled Warning icon Warning
if statement with too many branches the Disabled checkbox Disabled Warning icon Warning
Infinite loop statement the Enabled checkbox Enabled Warning icon Warning
Labeled statement the Disabled checkbox Disabled Warning icon Warning
Local variable used and declared in different switch branches the Disabled checkbox Disabled Warning icon Warning
Loop statement that does not loop the Enabled checkbox Enabled Warning icon Warning
Loop variable not updated inside loop the Enabled checkbox Enabled Warning icon Warning
Loop with implicit termination condition the Disabled checkbox Disabled Warning icon Warning
Negated conditional expression the Disabled checkbox Disabled Warning icon Warning
Negated equality expression the Disabled checkbox Disabled Warning icon Warning
Nested switch the Disabled checkbox Disabled Warning icon Warning
Nested conditional expression the Disabled checkbox Disabled Warning icon Warning
Overly complex boolean expression the Disabled checkbox Disabled Warning icon Warning
Pointless indexOf() comparison the Disabled checkbox Disabled Warning icon Warning
Pointless boolean expression the Enabled checkbox Enabled Warning icon Warning
Redundant else the Enabled checkbox Enabled Info icon No highlighting, only fix
Redundant if statement the Enabled checkbox Enabled Warning icon Warning
Redundant conditional expression the Enabled checkbox Enabled Warning icon Warning
Simplifiable boolean expression the Enabled checkbox Enabled Warning icon Warning
Simplifiable conditional expression the Enabled checkbox Enabled Warning icon Warning
Statement can be replaced with assert or Objects.requireNonNull the Enabled checkbox Enabled Info icon No highlighting, only fix
switch statement the Disabled checkbox Disabled Warning icon Warning
switch statement with too few branches the Enabled checkbox Enabled Warning icon Warning
switch statement with too low of a branch density the Disabled checkbox Disabled Warning icon Warning
switch statement with too many branches the Disabled checkbox Disabled Warning icon Warning
switch statement without default branch the Enabled checkbox Enabled Info icon No highlighting, only fix
Unnecessary null check before method call the Enabled checkbox Enabled Warning icon Warning

Data flow

Inspection name Default state Default severity
Boolean method is always inverted the Enabled checkbox Enabled Warning icon Warning
Boolean variable is always inverted the Disabled checkbox Disabled Warning icon Warning
Method call violates Law of Demeter the Disabled checkbox Disabled Warning icon Warning
Negatively named boolean variable the Disabled checkbox Disabled Warning icon Warning
Redundant local variable the Enabled checkbox Enabled Warning icon Warning
Reuse of local variable the Disabled checkbox Disabled Warning icon Warning
Scope of variable is too broad the Enabled checkbox Enabled Info icon No highlighting, only fix
Use of variable whose value is known to be constant the Disabled checkbox Disabled Warning icon Warning

Declaration redundancy

Inspection name Default state Default severity
Access static member via instance reference the Enabled checkbox Enabled Warning icon Warning
Actual method parameter is the same constant the Enabled checkbox Enabled Warning icon Warning
Collector can be simplified the Enabled checkbox Enabled Warning icon Warning
Declaration access can be weaker the Disabled checkbox Disabled Warning icon Warning
Declaration can have final modifier the Inspect Code icon the Enabled checkbox Enabled Warning icon Warning
Default annotation parameter value the Enabled checkbox Enabled Warning icon Warning
Duplicate throws the Enabled checkbox Enabled Warning icon Warning
Empty method the Inspect Code icon the Enabled checkbox Enabled Warning icon Warning
Functional expression can be folded the Enabled checkbox Enabled Warning icon Warning
Method can be void the Enabled checkbox Enabled Warning icon Warning
Method returns the same value the Inspect Code icon the Enabled checkbox Enabled Warning icon Warning
Null-check method is called with obviously non-null argument the Enabled checkbox Enabled Warning icon Warning
Optional call chain can be simplified the Enabled checkbox Enabled Warning icon Warning
Redundant close() the Enabled checkbox Enabled Warning icon Warning
Redundant requires statement in module-info the Inspect Code icon the Enabled checkbox Enabled Warning icon Warning
Redundant throws clause the Enabled checkbox Enabled Warning icon Warning
Redundant lambda parameter types the Enabled checkbox Enabled Info icon No highlighting, only fix
Redundant operation on empty container the Enabled checkbox Enabled Warning icon Warning
Redundant step in Stream or Optional call chain the Enabled checkbox Enabled Warning icon Warning
Stream API call chain can be simplified the Enabled checkbox Enabled Warning icon Warning
Trivial usage of functional expression the Enabled checkbox Enabled Warning icon Warning
Unnecessary module dependency the Enabled checkbox Enabled Warning icon Warning
Unused declaration the Enabled checkbox Enabled Warning icon Warning
Unused label the Enabled checkbox Enabled Warning icon Warning
Variable is assigned to itself the Enabled checkbox Enabled Warning icon Warning
Wrapper type may be primitive the Enabled checkbox Enabled Warning icon Warning

Inspections labeled with the Inspect Code icon are not available in the editor and can be launched via Analyze | Inspect Code or Analyze | Run Inspection By Name.

Dependency issues

Inspection name Default state Default severity
Class with too many dependencies the Inspect Code icon the Disabled checkbox Disabled Warning icon Warning
Class with too many dependents the Inspect Code icon the Disabled checkbox Disabled Warning icon Warning
Class with too many transitive dependencies the Inspect Code icon the Disabled checkbox Disabled Warning icon Warning
Class with too many transitive dependents the Inspect Code icon the Disabled checkbox Disabled Warning icon Warning
Cyclic class dependency the Inspect Code icon the Disabled checkbox Disabled Warning icon Warning
Cyclic package dependency the Inspect Code icon the Disabled checkbox Disabled Warning icon Warning
Illegal package dependencies the Enabled checkbox Enabled Error icon Error
Suspicious package-private access the Disabled checkbox Disabled Warning icon Warning

Inspections labeled with the Inspect Code icon are not available in the editor and can be launched via Analyze | Inspect Code or Analyze | Run Inspection By Name.

Encapsulation

Inspection name Default state Default severity
Accessing a non-public field of another object the Disabled checkbox Disabled Warning icon Warning
Assignment or return of field with mutable type the Disabled checkbox Disabled Warning icon Warning
Package-visible field the Disabled checkbox Disabled Warning icon Warning
Package-visible nested class the Disabled checkbox Disabled Warning icon Warning
Protected field the Disabled checkbox Disabled Warning icon Warning
Protected nested class the Disabled checkbox Disabled Warning icon Warning
public field the Enabled checkbox Enabled Info icon No highlighting, only fix
public nested class the Disabled checkbox Disabled Warning icon Warning

Error handling

Inspection name Default state Default severity
Catch block may ignore exception the Enabled checkbox Enabled Warning icon Warning
Caught exception is immediately rethrown the Enabled checkbox Enabled Warning icon Warning
Checked exception class the Disabled checkbox Disabled Warning icon Warning
Class directly extends java.lang.Throwable the Disabled checkbox Disabled Warning icon Warning
continue or break inside finally block the Enabled checkbox Enabled Warning icon Warning
Empty finally block the Enabled checkbox Enabled Warning icon Warning
Empty try block the Enabled checkbox Enabled Warning icon Warning
Exception constructor called without arguments the Disabled checkbox Disabled Warning icon Warning
finally block which cannot complete normally the Enabled checkbox Enabled Warning icon Warning
instanceof on catch parameter the Disabled checkbox Disabled Warning icon Warning
java.lang.Error not rethrown the Disabled checkbox Disabled Warning icon Warning
java.lang.ThreadDeath not rethrown the Disabled checkbox Disabled Warning icon Warning
Nested try statement the Disabled checkbox Disabled Warning icon Warning
Non-final field of exception class the Disabled checkbox Disabled Warning icon Warning
null thrown the Disabled checkbox Disabled Warning icon Warning
Overly broad catch block the Disabled checkbox Disabled Warning icon Warning
Overly broad throws clause the Disabled checkbox Disabled Warning icon Warning
Prohibited exception caught the Disabled checkbox Disabled Warning icon Warning
Prohibited exception declared the Disabled checkbox Disabled Warning icon Warning
Prohibited exception thrown the Disabled checkbox Disabled Warning icon Warning
return inside finally block the Enabled checkbox Enabled Warning icon Warning
throw caught by containing try statement the Disabled checkbox Disabled Warning icon Warning
throw inside catch block which ignores the caught exception the Disabled checkbox Disabled Warning icon Warning
throw inside finally block the Enabled checkbox Enabled Warning icon Warning
Unchecked exception class the Disabled checkbox Disabled Warning icon Warning
Unchecked exception declared in throws clause the Disabled checkbox Disabled Warning icon Warning
Unnecessary call to Throwable.initCause() the Enabled checkbox Enabled Warning icon Warning

Finalization

Inspection name Default state Default severity
finalize() called explicitly the Enabled checkbox Enabled Warning icon Warning
finalize() declaration the Disabled checkbox Disabled Warning icon Warning
finalize() not declared protected the Disabled checkbox Disabled Warning icon Warning

General

Inspection name Default state Default severity
Test-only class or method call in production code the Disabled checkbox Disabled Warning icon Warning

Imports

Inspection name Default state Default severity
* import the Disabled checkbox Disabled Warning icon Warning
Import from same package the Disabled checkbox Disabled Warning icon Warning
java.lang import the Disabled checkbox Disabled Warning icon Warning
Single class import the Disabled checkbox Disabled Warning icon Warning
Static import the Disabled checkbox Disabled Warning icon Warning
Unused import the Enabled checkbox Enabled Warning icon Warning

Inheritance issues

Inspection name Default state Default severity
Abstract class extends concrete class the Disabled checkbox Disabled Warning icon Warning
Abstract class which has no concrete subclass the Disabled checkbox Disabled Warning icon Warning
Abstract class without abstract methods the Disabled checkbox Disabled Warning icon Warning
Abstract method overrides abstract method the Disabled checkbox Disabled Warning icon Warning
Abstract method overrides concrete method the Disabled checkbox Disabled Warning icon Warning
Abstract method with missing implementations the Disabled checkbox Disabled Warning icon Warning
Class explicitly extends a Collection class the Disabled checkbox Disabled Warning icon Warning
Class extends annotation interface the Enabled checkbox Enabled Warning icon Warning
Class extends utility class the Disabled checkbox Disabled Warning icon Warning
Class may extend a commonly used base class the Enabled checkbox Enabled Info icon No highlighting, only fix
Final declaration can't be overridden at runtime the Enabled checkbox Enabled Error icon Error
Interface which has no concrete subclass the Disabled checkbox Disabled Warning icon Warning
Method does not call super method the Enabled checkbox Enabled Warning icon Warning
Method is identical to its super method the Disabled checkbox Disabled Warning icon Warning
Missing @Override annotation the Enabled checkbox Enabled Info icon No highlighting, only fix
Non-varargs method overrides varargs method the Disabled checkbox Disabled Warning icon Warning
Parameter type prevents overriding the Disabled checkbox Disabled Warning icon Warning
public constructor in abstract class the Disabled checkbox Disabled Warning icon Warning
Static inheritance the Disabled checkbox Disabled Warning icon Warning
Type parameter extends final class the Disabled checkbox Disabled Warning icon Warning

Initialization

Inspection name Default state Default severity
Abstract method called during object construction the Disabled checkbox Disabled Warning icon Warning
Double brace initialization the Enabled checkbox Enabled Info icon No highlighting, only fix
Instance field may not be initialized the Disabled checkbox Disabled Warning icon Warning
Instance field used before initialization the Disabled checkbox Disabled Warning icon Warning
Non-final static field is used during class initialization the Disabled checkbox Disabled Warning icon Warning
Overridable method called during object construction the Disabled checkbox Disabled Warning icon Warning
Overridden method called during object construction the Disabled checkbox Disabled Warning icon Warning
Static field may not be initialized the Disabled checkbox Disabled Warning icon Warning
Static field used before initialization the Disabled checkbox Disabled Warning icon Warning
this reference escaped in object construction the Disabled checkbox Disabled Warning icon Warning
Unsafe lazy initialization of static field the Disabled checkbox Disabled Warning icon Warning

Internationalization

Inspection name Default state Default severity
Absolute alignment used in AWT/Swing code the Disabled checkbox Disabled Warning icon Warning
Call to Date.toString() the Disabled checkbox Disabled Warning icon Warning
Call to String.toUpperCase() or codetoLowerCase() without a Locale the Disabled checkbox Disabled Warning icon Warning
Call to Time.toString() the Disabled checkbox Disabled Warning icon Warning
Call to Numeric toString() the Disabled checkbox Disabled Warning icon Warning
Call to suspicious String method the Disabled checkbox Disabled Warning icon Warning
Character comparison the Disabled checkbox Disabled Warning icon Warning
Duplicate string literal the Disabled checkbox Disabled Warning icon Warning
Hard coded strings the Disabled checkbox Disabled Warning icon Warning
Implicit usage of platformcodes default charset the Disabled checkbox Disabled Warning icon Warning
Incorrect string capitalization the Enabled checkbox Enabled Warning icon Warning
Instantiating a SimpleDateFormat without a Locale the Disabled checkbox Disabled Warning icon Warning
Magic character the Disabled checkbox Disabled Warning icon Warning
String concatenation the Disabled checkbox Disabled Warning icon Warning
Unnecessary unicode escape sequence the Disabled checkbox Disabled Warning icon Warning
Use of StringTokenizer the Disabled checkbox Disabled Warning icon Warning

J2ME issues

Inspection name Default state Default severity
Abstract class which has only one direct inheritor the Disabled checkbox Disabled Warning icon Warning
Array.length in loop condition the Disabled checkbox Disabled Warning icon Warning
Connection opened but not safely closed the Disabled checkbox Disabled Warning icon Warning
Interface which has only one direct inheritor the Disabled checkbox Disabled Warning icon Warning
Large array allocation with no OutOfMemoryError check the Disabled checkbox Disabled Warning icon Warning
Method call in loop condition the Disabled checkbox Disabled Warning icon Warning
Multiply or divide by power of two the Disabled checkbox Disabled Warning icon Warning
Overly large initializer for array of primitive type the Disabled checkbox Disabled Warning icon Warning
RecordStore opened but not safely closed the Disabled checkbox Disabled Warning icon Warning
Single character startsWith() or codeendsWith() the Disabled checkbox Disabled Warning icon Warning
Synthetic accessor call the Disabled checkbox Disabled Warning icon Warning

Java language level

Inspection name Default state Default severity
Annotation the Disabled checkbox Disabled Warning icon Warning
Annotation class the Disabled checkbox Disabled Warning icon Warning
assert statement the Disabled checkbox Disabled Warning icon Warning
Auto-boxing the Disabled checkbox Disabled Warning icon Warning
Auto-unboxing the Disabled checkbox Disabled Warning icon Warning
Enumerated class the Disabled checkbox Disabled Warning icon Warning
Extended for statement the Disabled checkbox Disabled Warning icon Warning
Use of assert as identifier the Disabled checkbox Disabled Warning icon Warning
Use of enum as identifier the Disabled checkbox Disabled Warning icon Warning
Varargs method the Enabled checkbox Enabled Info icon No highlighting, only fix

Java language level migration aids

Inspection name Default state Default severity
compare() method can be used to compare numbers the Enabled checkbox Enabled Warning icon Warning
Enumeration can be iteration the Disabled checkbox Disabled Warning icon Warning
if replaceable with switch the Enabled checkbox Enabled Warning icon Warning
Usages of API which isn't available at the configured language level the Enabled checkbox Enabled Error icon Error

Java 5


BigDecimal legacy method called the Disabled checkbox Disabled Warning icon Warning
Collections.EMPTY_* field access replaceable with Collections.empty*() method call the Disabled checkbox Disabled Warning icon Warning
for loop replaceable with enhanced for loop the Enabled checkbox Enabled Warning icon Warning
String.indexOf() expression is replaceable with contains() the Enabled checkbox Enabled Warning icon Warning
Method can be varargs method the Enabled checkbox Enabled Info icon No highlighting, only fix
Raw use of parameterized class the Enabled checkbox Enabled Warning icon Warning
StringBuffer may be StringBuilder the Enabled checkbox Enabled Warning icon Warning
Unnecessary boxing the Enabled checkbox Enabled Warning icon Warning
Unnecessary unboxing the Enabled checkbox Enabled Warning icon Warning
while loop replaceable with enhanced for loop the Enabled checkbox Enabled Warning icon Warning

Java 7


equals() expression replaceable by Objects.equals() expression the Enabled checkbox Enabled Weak Warning icon Weak Warning
Explicit type can be replaced with <> the Enabled checkbox Enabled Warning icon Warning
Identical catch branches in try statement the Enabled checkbox Enabled Warning icon Warning
Possible heap pollution from parameterized vararg type the Enabled checkbox Enabled Warning icon Warning
try finally replaceable with try with resources the Enabled checkbox Enabled Warning icon Warning

Java 8


Anonymous type can be replaced with lambda the Enabled checkbox Enabled Warning icon Warning
Anonymous type can be replaced with method reference the Enabled checkbox Enabled Warning icon Warning
Anonymous type has shorter lambda alternative the Enabled checkbox Enabled Warning icon Warning
Collections.sort() can be replaced with List.sort() the Enabled checkbox Enabled Warning icon Warning
Comparator combinator can be used the Enabled checkbox Enabled Warning icon Warning
Expression can be folded into Stream chain the Enabled checkbox Enabled Info icon No highlighting, only fix
forEach call can be simplified the Enabled checkbox Enabled Info icon No highlighting, only fix
Guava's functional primitives can be replaced by Java the Enabled checkbox Enabled Warning icon Warning
Lambda can be replaced with method call the Enabled checkbox Enabled Info icon No highlighting, only fix
Lambda can be replaced with method reference the Enabled checkbox Enabled Warning icon Warning
Loop can be collapsed with Stream API the Enabled checkbox Enabled Info icon No highlighting, only fix
Loop can be replaced with Collection.removeIf() the Enabled checkbox Enabled Warning icon Warning
Map.forEach can be used the Enabled checkbox Enabled Warning icon Warning
Pseudo functional expression using static class the Enabled checkbox Enabled Warning icon Warning
Single Map method can be used the Enabled checkbox Enabled Warning icon Warning
Statement lambda can be replaced with expression lambda the Enabled checkbox Enabled Warning icon Warning

Java 9


Dependencies on automatic modules the Enabled checkbox Enabled Warning icon Warning
Immutable collection creation can be replaced with collection factory call the Enabled checkbox Enabled Warning icon Warning
Null check can be replaced with method call the Enabled checkbox Enabled Warning icon Warning

Java 10


Local variable type can be omitted the Enabled checkbox Enabled Info icon No highlighting, only fix
Variable type can be explicit the Enabled checkbox Enabled Info icon No highlighting, only fix

Java 11


Files.readString() or Files.writeString() can be used the Enabled checkbox Enabled Info icon No highlighting, only fix
String.repeat() can be used the Enabled checkbox Enabled Info icon No highlighting, only fix

Java 13


New style switch can be replaced with old style one the Enabled checkbox Enabled Info icon No highlighting, only fix
Statement can be replaced with enhanced switch the Enabled checkbox Enabled Warning icon Warning
Text block can be replaced with regular string literal the Enabled checkbox Enabled Info icon No highlighting, only fix
Text block can be used the Enabled checkbox Enabled Warning icon Warning

JavaBeans issues

Inspection name Default state Default severity
Class without constructor the Disabled checkbox Disabled Warning icon Warning
Class without no-arg constructor the Disabled checkbox Disabled Warning icon Warning
Field has setter but no getter the Disabled checkbox Disabled Warning icon Warning
Property value set to itself the Disabled checkbox Disabled Warning icon Warning
Suspicious getter/setter the Disabled checkbox Disabled Warning icon Warning

JavaDoc

Inspection name Default state Default severity
<code>...</code> can be replaced with {@code ...} the Disabled checkbox Disabled Warning icon Warning
Dangling Javadoc comment the Enabled checkbox Enabled Warning icon Warning
Declaration has Javadoc problems the Enabled checkbox Enabled Warning icon Warning
Declaration has problems in Javadoc references the Enabled checkbox Enabled Error icon Error
HTML problems in Javadoc (DocLint) the Disabled checkbox Disabled Error icon Error
Missing package-info.java the Disabled checkbox Disabled Warning icon Warning
Missing @Deprecated annotation the Disabled checkbox Disabled Warning icon Warning
package-info.java without package statement the Disabled checkbox Disabled Warning icon Warning
package.html may be converted to package-info.java the Disabled checkbox Disabled Warning icon Warning
Unnecessary Javadoc link the Disabled checkbox Disabled Warning icon Warning
Unnecessary {@inheritDoc} Javadoc comment the Disabled checkbox Disabled Warning icon Warning

JUnit

Inspection name Default state Default severity
assertEquals() between objects of inconvertible types the Enabled checkbox Enabled Warning icon Warning
assertEquals() called on array the Disabled checkbox Disabled Warning icon Warning
assertEquals() may be assertSame() the Disabled checkbox Disabled Warning icon Warning
Assertion expression can be replaced with assertThat method call the Disabled checkbox Disabled Warning icon Warning
Constant JUnit assert argument the Disabled checkbox Disabled Warning icon Warning
Expected exception never thrown in test method body the Disabled checkbox Disabled Warning icon Warning
Highlight problem line in test the Enabled checkbox Enabled Warning icon Warning
JUnit test annotated with @Ignore/@Disabled the Disabled checkbox Disabled Warning icon Warning
JUnit test method in product source the Disabled checkbox Disabled Warning icon Warning
JUnit test method without any assertions the Disabled checkbox Disabled Warning icon Warning
JUnit TestCase in product source the Disabled checkbox Disabled Warning icon Warning
JUnit TestCase with non-trivial constructors the Disabled checkbox Disabled Warning icon Warning
JUnit 4 test can be JUnit 5 the Disabled checkbox Disabled Warning icon Warning
JUnit 4 test method in class extending JUnit 3 TestCase the Enabled checkbox Enabled Warning icon Warning
JUnit 5 malformed @Nested class the Enabled checkbox Enabled Warning icon Warning
JUnit 5 malformed parameterized test the Enabled checkbox Enabled Warning icon Warning
JUnit 5 malformed repeated test the Enabled checkbox Enabled Warning icon Warning
Malformed setUp() or tearDown() method the Disabled checkbox Disabled Warning icon Warning
Malformed @Before or @After method the Enabled checkbox Enabled Warning icon Warning
Malformed @BeforeClass/@BeforeAll or @AfterClass/@AfterAll method the Enabled checkbox Enabled Warning icon Warning
Malformed @DataPoint field the Disabled checkbox Disabled Warning icon Warning
Malformed @Rule/@ClassRule field the Disabled checkbox Disabled Warning icon Warning
Malformed test method the Enabled checkbox Enabled Warning icon Warning
Message missing on JUnit assertion the Disabled checkbox Disabled Warning icon Warning
Misordered assertEquals() arguments the Disabled checkbox Disabled Warning icon Warning
Multiple exceptions declared on test method the Disabled checkbox Disabled Warning icon Warning
Obsolete assertions in JUnit 5 tests the Disabled checkbox Disabled Warning icon Warning
Old style JUnit test method in JUnit 4 class the Disabled checkbox Disabled Warning icon Warning
@RunWith(JUnitPlatform.class) without test methods the Enabled checkbox Enabled Warning icon Warning
@RunWith(Parameterized.class) without data provider the Disabled checkbox Disabled Warning icon Warning
Simplifiable JUnit assertion the Enabled checkbox Enabled Warning icon Warning
suite() method not declared static the Enabled checkbox Enabled Warning icon Warning
super.tearDown() not called from finally block the Disabled checkbox Disabled Warning icon Warning
Test class with no tests the Disabled checkbox Disabled Warning icon Warning
Unconstructable JUnit TestCase the Enabled checkbox Enabled Warning icon Warning
Usage of obsolete junit.framework.Assert method the Disabled checkbox Disabled Warning icon Warning

Logging

Inspection name Default state Default severity
Class with multiple loggers the Disabled checkbox Disabled Warning icon Warning
Class without logger the Disabled checkbox Disabled Warning icon Warning
Log condition does not match logging call the Disabled checkbox Disabled Warning icon Warning
Logger initialized with foreign class the Disabled checkbox Disabled Warning icon Warning
Logging call not guarded by log condition the Disabled checkbox Disabled Warning icon Warning
Non-constant logger the Disabled checkbox Disabled Warning icon Warning
Non-constant string concatenation as argument to logging call the Disabled checkbox Disabled Warning icon Warning
Number of placeholders does not match number of arguments in logging call the Enabled checkbox Enabled Warning icon Warning
public method without logging the Disabled checkbox Disabled Warning icon Warning

Memory

Inspection name Default state Default severity
Anonymous class may be a named static inner class the Disabled checkbox Disabled Warning icon Warning
Calls to System.gc() or Runtime.gc() the Disabled checkbox Disabled Warning icon Warning
Inner class may be static the Enabled checkbox Enabled Warning icon Warning
Return of instance of anonymous, local or inner class the Disabled checkbox Disabled Warning icon Warning
Static collection the Disabled checkbox Disabled Warning icon Warning
StringBuilder field the Disabled checkbox Disabled Warning icon Warning
Unnecessary zero length array usage the Enabled checkbox Enabled Warning icon Warning
Zero-length array allocation the Disabled checkbox Disabled Warning icon Warning

Method metrics

Inspection name Default state Default severity
Constructor with too many parameters the Disabled checkbox Disabled Warning icon Warning
Method with more than three negations the Disabled checkbox Disabled Warning icon Warning
Method with multiple loops the Disabled checkbox Disabled Warning icon Warning
Method with multiple return points the Disabled checkbox Disabled Warning icon Warning
Method with too many exceptions declared the Disabled checkbox Disabled Warning icon Warning
Method with too many parameters the Disabled checkbox Disabled Warning icon Warning
Overly complex method the Disabled checkbox Disabled Warning icon Warning
Overly coupled method the Disabled checkbox Disabled Warning icon Warning
Overly long lambda expression the Disabled checkbox Disabled Warning icon Warning
Overly long method the Disabled checkbox Disabled Warning icon Warning
Overly nested method the Disabled checkbox Disabled Warning icon Warning

Modularization issues

Inspection name Default state Default severity
Class independent of its module the Inspect Code icon the Disabled checkbox Disabled Warning icon Warning
Class only used from one other module the Inspect Code icon the Disabled checkbox Disabled Warning icon Warning
Inconsistent language level settings the Inspect Code icon the Disabled checkbox Disabled Warning icon Warning
Module with too few classes the Inspect Code icon the Disabled checkbox Disabled Warning icon Warning
Module with too many classes the Inspect Code icon the Disabled checkbox Disabled Warning icon Warning

Inspections labeled with the Inspect Code icon are not available in the editor and can be launched via Analyze | Inspect Code or Analyze | Run Inspection By Name.

Naming conventions

Inspection name Default state Default severity
Boolean method name must start with question word the Disabled checkbox Disabled Warning icon Warning
Class name prefixed with package name the Disabled checkbox Disabled Warning icon Warning
Class name same as ancestor name the Disabled checkbox Disabled Warning icon Warning
Class naming convention the Disabled checkbox Disabled Warning icon Warning
Confusing main() method the Disabled checkbox Disabled Warning icon Warning
Exception class name does not end with Exception the Disabled checkbox Disabled Warning icon Warning
Field naming convention the Disabled checkbox Disabled Warning icon Warning
Java module naming conventions the Enabled checkbox Enabled Warning icon Warning
Lambda parameter naming convention the Disabled checkbox Disabled Warning icon Warning
Lambda-unfriendly method overload the Disabled checkbox Disabled Warning icon Warning
Local variable naming convention the Disabled checkbox Disabled Warning icon Warning
Method name same as class name the Enabled checkbox Enabled Warning icon Warning
Method name same as parent class name the Disabled checkbox Disabled Warning icon Warning
Method names differing only by case the Disabled checkbox Disabled Warning icon Warning
Method naming convention the Disabled checkbox Disabled Warning icon Warning
Method parameter naming convention the Disabled checkbox Disabled Warning icon Warning
Non-boolean method name must not start with question word the Disabled checkbox Disabled Warning icon Warning
Non-constant field with upper-case name the Disabled checkbox Disabled Warning icon Warning
Non-exception class name ends with Exception the Disabled checkbox Disabled Warning icon Warning
Overloaded methods with same number of parameters the Disabled checkbox Disabled Warning icon Warning
Overloaded varargs method the Disabled checkbox Disabled Warning icon Warning
Package naming convention the Disabled checkbox Disabled Warning icon Warning
Parameter name differs from parameter in overridden method the Disabled checkbox Disabled Warning icon Warning
Questionable name the Disabled checkbox Disabled Warning icon Warning
Standard variable names the Disabled checkbox Disabled Warning icon Warning
Use of $ in identifier the Disabled checkbox Disabled Warning icon Warning

Numeric issues

Inspection name Default state Default severity
Call to BigDecimal method without a rounding mode argument the Enabled checkbox Enabled Warning icon Warning
char expression used in arithmetic context the Disabled checkbox Disabled Warning icon Warning
Comparison of short and char values the Disabled checkbox Disabled Warning icon Warning
Comparison to Double.NaN or Float.NaN the Enabled checkbox Enabled Warning icon Warning
Confusing floating-point literal the Disabled checkbox Disabled Warning icon Warning
Constant call to java.lang.Math the Disabled checkbox Disabled Warning icon Warning
Divide by zero the Enabled checkbox Enabled Warning icon Warning
double literal cast to float could be float literal the Disabled checkbox Disabled Warning icon Warning
equals() called on java.math.BigDecimal the Disabled checkbox Disabled Warning icon Warning
Floating point equality comparison the Disabled checkbox Disabled Warning icon Warning
Implicit numeric conversion the Disabled checkbox Disabled Warning icon Warning
int literal cast to long could be long literal the Disabled checkbox Disabled Warning icon Warning
Integer division in floating point context the Enabled checkbox Enabled Warning icon Warning
Integer multiplication or shift implicitly cast to long the Disabled checkbox Disabled Warning icon Warning
long literal ending with l instead of L the Enabled checkbox Enabled Warning icon Warning
Non-reproducible call to java.lang.Math the Disabled checkbox Disabled Warning icon Warning
Number constructor call with primitive argument the Enabled checkbox Enabled Warning icon Warning
Numeric cast that loses precision the Disabled checkbox Disabled Warning icon Warning
Numeric overflow the Enabled checkbox Enabled Warning icon Warning
Octal and decimal integers in same array the Disabled checkbox Disabled Warning icon Warning
Octal integer the Enabled checkbox Enabled Warning icon Warning
Overly complex arithmetic expression the Disabled checkbox Disabled Warning icon Warning
Pointless arithmetic expression the Enabled checkbox Enabled Warning icon Warning
Suspicious test for oddness the Disabled checkbox Disabled Warning icon Warning
Suspicious underscore in number literal the Disabled checkbox Disabled Warning icon Warning
Unary plus the Disabled checkbox Disabled Warning icon Warning
Unnecessary explicit numeric cast the Disabled checkbox Disabled Warning icon Warning
Unnecessary unary minus the Disabled checkbox Disabled Warning icon Warning
Unpredictable BigDecimal constructor call the Enabled checkbox Enabled Warning icon Warning

Packaging issues

Inspection name Default state Default severity
Class independent of its package the Inspect Code icon the Disabled checkbox Disabled Warning icon Warning
Class only used from one other package the Inspect Code icon the Disabled checkbox Disabled Warning icon Warning
Empty directory the Inspect Code icon the Disabled checkbox Disabled Warning icon Warning
Exception package the Inspect Code icon the Disabled checkbox Disabled Warning icon Warning
Package with classes in multiple modules the Inspect Code icon the Disabled checkbox Disabled Warning icon Warning
Package with disjoint dependency graph the Inspect Code icon the Disabled checkbox Disabled Warning icon Warning
Package with too few classes the Inspect Code icon the Disabled checkbox Disabled Warning icon Warning
Package with too many classes the Inspect Code icon the Disabled checkbox Disabled Warning icon Warning

Inspections labeled with the Inspect Code icon are not available in the editor and can be launched via Analyze | Inspect Code or Analyze | Run Inspection By Name.

Performance

Inspection name Default state Default severity
Boolean constructor call the Enabled checkbox Enabled Warning icon Warning
Boxing of already boxed value the Enabled checkbox Enabled Warning icon Warning
Bulk operation can be used instead of iteration the Enabled checkbox Enabled Warning icon Warning
Call to Arrays.asList() with too few arguments the Enabled checkbox Enabled Warning icon Warning
Call to simple getter from within class the Disabled checkbox Disabled Warning icon Warning
Call to simple setter from within class the Disabled checkbox Disabled Warning icon Warning
Class initializer may be static the Enabled checkbox Enabled Warning icon Warning
Collection.toArray() call style the Enabled checkbox Enabled Warning icon Warning
Collection without initial capacity the Disabled checkbox Disabled Warning icon Warning
Concatenation with empty string the Disabled checkbox Disabled Warning icon Warning
Dynamic regular expression could be replaced by compiled Pattern the Disabled checkbox Disabled Warning icon Warning
equals() call can be replaced with == the Enabled checkbox Enabled Info icon No highlighting, only fix
equals() or hashCode() called on java.net.URL object the Disabled checkbox Disabled Warning icon Warning
Explicit argument can be lambda the Enabled checkbox Enabled Info icon No highlighting, only fix
Field may be static the Disabled checkbox Disabled Warning icon Warning
Inefficient Stream API call chains ending with count() the Enabled checkbox Enabled Warning icon Warning
Instantiating object to get Class object the Enabled checkbox Enabled Warning icon Warning
Iteration over keySet() may be optimized the Disabled checkbox Disabled Warning icon Warning
List.remove() called in loop the Enabled checkbox Enabled Warning icon Warning
Loop can be terminated after condition is met the Enabled checkbox Enabled Warning icon Warning
Manual array copy the Enabled checkbox Enabled Warning icon Warning
Manual array to collection copy the Enabled checkbox Enabled Warning icon Warning
Map or Set may contain java.net.URL objects the Disabled checkbox Disabled Warning icon Warning
Map replaceable with EnumMap the Disabled checkbox Disabled Warning icon Warning
Method may be static the Disabled checkbox Disabled Warning icon Warning
Non-constant String should be StringBuilder the Disabled checkbox Disabled Warning icon Warning
Object allocation in loop the Disabled checkbox Disabled Warning icon Warning
Object instantiation inside equals() or hashCode() the Disabled checkbox Disabled Warning icon Warning
Redundant Collection.addAll() call the Enabled checkbox Enabled Warning icon Warning
Redundant call to String.format() the Enabled checkbox Enabled Warning icon Warning
Set replaceable with EnumSet the Disabled checkbox Disabled Warning icon Warning
Single character string argument in String.indexOf() call the Disabled checkbox Disabled Warning icon Warning
Single character string concatenation the Enabled checkbox Enabled Info icon No highlighting, only fix
String.equals("") the Disabled checkbox Disabled Warning icon Warning
String concatenation as argument to StringBuilder.append() call the Enabled checkbox Enabled Warning icon Warning
String concatenation in loop the Enabled checkbox Enabled Warning icon Warning
StringBuilder.toString() in concatenation the Disabled checkbox Disabled Warning icon Warning
StringBuilder without initial capacity the Disabled checkbox Disabled Warning icon Warning
Tail recursion the Enabled checkbox Enabled Info icon No highlighting, only fix
Unnecessary temporary object in conversion from String the Enabled checkbox Enabled Warning icon Warning
Unnecessary temporary object in conversion to String the Enabled checkbox Enabled Warning icon Warning
Using Random.nextDouble() to get random integer the Disabled checkbox Disabled Warning icon Warning

Portability

Inspection name Default state Default severity
Call to Runtime.exec() the Disabled checkbox Disabled Warning icon Warning
Call to System.exit() or related methods the Disabled checkbox Disabled Warning icon Warning
Call to System.getenv() the Disabled checkbox Disabled Warning icon Warning
Hardcoded file separator the Disabled checkbox Disabled Warning icon Warning
Hardcoded line separator the Disabled checkbox Disabled Warning icon Warning
Native method the Disabled checkbox Disabled Warning icon Warning
Use of java.lang.ProcessBuilder class the Disabled checkbox Disabled Warning icon Warning
Use of AWT peer class the Disabled checkbox Disabled Warning icon Warning
Use of concrete JDBC driver class the Disabled checkbox Disabled Warning icon Warning
Use of sun.* classes the Disabled checkbox Disabled Warning icon Warning

Probable bugs

Nullability problems

Inspection name Default state Default severity
@NotNull field is not initialized the Enabled checkbox Enabled Warning icon Warning
@NotNull/@Nullable problems the Enabled checkbox Enabled Warning icon Warning
Return of null the Disabled checkbox Disabled Warning icon Warning
Inspection name Default state Default severity
Array comparison using ==, instead of Arrays.equals() the Disabled checkbox Disabled Warning icon Warning
assert statement condition is constant the Disabled checkbox Disabled Warning icon Warning
assert statement with side effects the Enabled checkbox Enabled Warning icon Warning
Call to toString() on array the Enabled checkbox Enabled Warning icon Warning
Call to String.replaceAll(".", ...) the Enabled checkbox Enabled Warning icon Warning
Call to default toString() the Disabled checkbox Disabled Warning icon Warning
Cast conflicts with instanceof the Disabled checkbox Disabled Warning icon Warning
Casting to incompatible interface the Disabled checkbox Disabled Warning icon Warning
Class.getClass() call the Enabled checkbox Enabled Warning icon Warning
Cleaner captures object reference the Enabled checkbox Enabled Warning icon Warning
Collection added to self the Enabled checkbox Enabled Warning icon Warning
Comparable implemented but equals() not overridden the Disabled checkbox Disabled Warning icon Warning
Confusing argument to varargs method the Enabled checkbox Enabled Warning icon Warning
Confusing primitive array argument to varargs method the Enabled checkbox Enabled Warning icon Warning
Constant conditions & exceptions the Enabled checkbox Enabled Warning icon Warning
Contract issues the Enabled checkbox Enabled Warning icon Warning
Copy constructor misses field the Enabled checkbox Enabled Warning icon Warning
Covariant equals() the Disabled checkbox Disabled Warning icon Warning
Duplicated delimiters in java.util.StringTokenizer the Enabled checkbox Enabled Warning icon Warning
Empty class initializer the Disabled checkbox Disabled Warning icon Warning
equal() instead of equals() the Disabled checkbox Disabled Warning icon Warning
equals() and hashCode() not paired the Disabled checkbox Disabled Warning icon Warning
equals() between objects of inconvertible types the Enabled checkbox Enabled Warning icon Warning
equals() called on StringBuilder the Enabled checkbox Enabled Warning icon Warning
equals() called on array the Enabled checkbox Enabled Warning icon Warning
equals() called on itself the Enabled checkbox Enabled Warning icon Warning
equals() method which does not check class of parameter the Enabled checkbox Enabled Warning icon Warning
hashCode() called on array the Enabled checkbox Enabled Warning icon Warning
Infinite recursion the Enabled checkbox Enabled Warning icon Warning
Inner class referenced via subclass the Disabled checkbox Disabled Warning icon Warning
instanceof with incompatible interface the Disabled checkbox Disabled Warning icon Warning
Instantiation of utility class the Disabled checkbox Disabled Warning icon Warning
Invalid method reference used for Comparator the Enabled checkbox Enabled Warning icon Warning
Iterable is used as vararg the Enabled checkbox Enabled Warning icon Warning
Iterator.hasNext() which calls next() the Disabled checkbox Disabled Warning icon Warning
Iterator.next() which can't throw NoSuchElementException the Disabled checkbox Disabled Warning icon Warning
Loop executes zero or billions times the Enabled checkbox Enabled Warning icon Warning
Magic Constant the Enabled checkbox Enabled Warning icon Warning
Malformed format string the Enabled checkbox Enabled Warning icon Warning
Malformed regular expression the Disabled checkbox Disabled Warning icon Warning
Malformed XPath expression the Enabled checkbox Enabled Warning icon Warning
Math.random() cast to int the Enabled checkbox Enabled Warning icon Warning
Mismatched case in String operation the Enabled checkbox Enabled Warning icon Warning
Mismatched query and update of StringBuilder the Enabled checkbox Enabled Warning icon Warning
Mismatched query and update of collection the Enabled checkbox Enabled Warning icon Warning
Mismatched read and write of array the Enabled checkbox Enabled Warning icon Warning
New object is compared using == the Enabled checkbox Enabled Warning icon Warning
Non-final field referenced in compareTo() the Disabled checkbox Disabled Warning icon Warning
Non-final field referenced in equals() the Disabled checkbox Disabled Warning icon Warning
Non-final field referenced in hashCode() the Disabled checkbox Disabled Warning icon Warning
Non-short-circuit boolean expression the Disabled checkbox Disabled Warning icon Warning
Non-short-circuit operation consumes the infinite stream the Enabled checkbox Enabled Warning icon Warning
Number comparison using ==, instead of equals() the Enabled checkbox Enabled Warning icon Warning
Object comparison using ==, instead of equals() the Enabled checkbox Enabled Info icon No highlighting, only fix
Objects.equals() called on arrays the Enabled checkbox Enabled Warning icon Warning
Optional.get() is called without isPresent() check the Enabled checkbox Enabled Warning icon Warning
Overwritten Map key or Set element the Enabled checkbox Enabled Warning icon Warning
Reference checked for null is not used inside if the Disabled checkbox Disabled Warning icon Warning
Reflective access to a source-only annotation the Enabled checkbox Enabled Warning icon Warning
Result of method call ignored the Enabled checkbox Enabled Warning icon Warning
Result of object allocation ignored the Disabled checkbox Disabled Warning icon Warning
Sorted collection with non-comparable elements the Enabled checkbox Enabled Warning icon Warning
Statement with empty body the Enabled checkbox Enabled Warning icon Warning
Static field referenced via subclass the Disabled checkbox Disabled Warning icon Warning
Static method referenced via subclass the Disabled checkbox Disabled Warning icon Warning
String.equals() called with CharSequence argument the Enabled checkbox Enabled Warning icon Warning
String comparison using ==, instead of equals() the Enabled checkbox Enabled Warning icon Warning
String concatenation as argument to MessageFormat.format() call the Disabled checkbox Disabled Warning icon Warning
String concatenation as argument to format() call the Disabled checkbox Disabled Warning icon Warning
String literal concatenation missing whitespace the Disabled checkbox Disabled Warning icon Warning
StringBuilder constructor call with char argument the Enabled checkbox Enabled Warning icon Warning
Subtraction in compareTo() the Disabled checkbox Disabled Warning icon Warning
Suspicious Collection.toArray() call the Enabled checkbox Enabled Warning icon Warning
Suspicious Comparator.compare() implementation the Enabled checkbox Enabled Warning icon Warning
Suspicious List.remove() in the loop the Enabled checkbox Enabled Warning icon Warning
Suspicious System.arraycopy() call the Enabled checkbox Enabled Warning icon Warning
Suspicious Arrays method calls the Enabled checkbox Enabled Warning icon Warning
Suspicious array cast the Disabled checkbox Disabled Warning icon Warning
Suspicious collections method calls the Enabled checkbox Enabled Warning icon Warning
Suspicious indentation after control statement without braces the Disabled checkbox Disabled Warning icon Warning
Suspicious integer division assignment the Enabled checkbox Enabled Warning icon Warning
Suspicious usage of compare method the Enabled checkbox Enabled Warning icon Warning
Suspicious variable/parameter name combination the Enabled checkbox Enabled Warning icon Warning
Text label in switch statement the Enabled checkbox Enabled Warning icon Warning
Throwable not thrown the Enabled checkbox Enabled Warning icon Warning
Unsafe call to Class.newInstance() the Disabled checkbox Disabled Warning icon Warning
Unused assignment the Enabled checkbox Enabled Warning icon Warning
Use of Properties object as a Hashtable the Disabled checkbox Disabled Warning icon Warning
Use of index 0 in JDBC ResultSet the Disabled checkbox Disabled Warning icon Warning
Wrong package statement the Enabled checkbox Enabled Error icon Error

Properties Files

Inspection name Default state Default severity
Invalid property key the Enabled checkbox Enabled Error icon Error

Reflective access

Inspection name Default state Default severity
MethodHandle/VarHandle type mismatch the Enabled checkbox Enabled Warning icon Warning
Non-runtime annotation to be used by reflection the Enabled checkbox Enabled Warning icon Warning
Reflective access across modules issues the Enabled checkbox Enabled Warning icon Warning
Reflective access to nonexistent/not visible class member the Enabled checkbox Enabled Warning icon Warning
Reflective invocation arguments mismatch the Enabled checkbox Enabled Warning icon Warning

Resource management

Inspection name Default state Default severity
Channel opened but not safely closed the Disabled checkbox Disabled Warning icon Warning
Hibernate resource opened but not safely closed the Disabled checkbox Disabled Warning icon Warning
I/O resource opened but not safely closed the Disabled checkbox Disabled Warning icon Warning
JDBC resource opened but not safely closed the Disabled checkbox Disabled Warning icon Warning
JNDI resource opened but not safely closed the Disabled checkbox Disabled Warning icon Warning
Socket opened but not safely closed the Disabled checkbox Disabled Warning icon Warning
Use of DriverManager to get JDBC connection the Disabled checkbox Disabled Warning icon Warning

Security

Inspection name Default state Default severity
Access of system properties the Disabled checkbox Disabled Warning icon Warning
Call to Connection.prepare*() with non-constant string the Disabled checkbox Disabled Warning icon Warning
Call to Runtime.exec() with non-constant string the Disabled checkbox Disabled Warning icon Warning
Call to Statement.execute() with non-constant string the Disabled checkbox Disabled Warning icon Warning
Call to System.loadLibrary() with non-constant string the Disabled checkbox Disabled Warning icon Warning
Call to System.setSecurityManager() the Disabled checkbox Disabled Warning icon Warning
ClassLoader instantiation the Disabled checkbox Disabled Warning icon Warning
Cloneable class in secure context the Disabled checkbox Disabled Warning icon Warning
Custom ClassLoader the Disabled checkbox Disabled Warning icon Warning
Custom SecurityManager the Disabled checkbox Disabled Warning icon Warning
Design for extension the Disabled checkbox Disabled Warning icon Warning
Insecure random number generation the Disabled checkbox Disabled Warning icon Warning
Non-static inner class in secure context the Disabled checkbox Disabled Warning icon Warning
Non-final clone() in secure context the Disabled checkbox Disabled Warning icon Warning
public static array field the Disabled checkbox Disabled Warning icon Warning
public static collection field the Disabled checkbox Disabled Warning icon Warning
Serializable class in secure context the Disabled checkbox Disabled Warning icon Warning

Serialization issues

Inspection name Default state Default severity
Comparator class not declared Serializable the Disabled checkbox Disabled Warning icon Warning
Externalizable class with readObject() or writeObject() the Disabled checkbox Disabled Warning icon Warning
Externalizable class without public no-arg constructor the Enabled checkbox Enabled Warning icon Warning
Instance field may not be initialized by readObject() the Disabled checkbox Disabled Warning icon Warning
Non-serializable class with readObject() or writeObject() the Disabled checkbox Disabled Warning icon Warning
Non-serializable class with serialVersionUID the Disabled checkbox Disabled Warning icon Warning
Non-serializable field in a Serializable class the Disabled checkbox Disabled Warning icon Warning
Non-serializable object bound to HttpSession the Disabled checkbox Disabled Warning icon Warning
Non-serializable object passed to ObjectOutputStream the Disabled checkbox Disabled Warning icon Warning
readObject() or writeObject() not declared private the Disabled checkbox Disabled Warning icon Warning
readResolve() or writeReplace() not declared protected the Disabled checkbox Disabled Warning icon Warning
Serializable class with unconstructable ancestor the Disabled checkbox Disabled Warning icon Warning
Serializable class without readObject() and writeObject() the Disabled checkbox Disabled Warning icon Warning
Serializable class without serialVersionUID the Disabled checkbox Disabled Warning icon Warning
Serializable non-static inner class with non-Serializable outer class the Disabled checkbox Disabled Warning icon Warning
Serializable non-static inner class without serialVersionUID the Disabled checkbox Disabled Warning icon Warning
Serializable object implicitly stores non-Serializable object the Disabled checkbox Disabled Warning icon Warning
serialPersistentFields field not declared private static final ObjectStreamField[] the Disabled checkbox Disabled Warning icon Warning
serialVersionUID field not declared private static final long the Disabled checkbox Disabled Warning icon Warning
Transient field in non-serializable class the Disabled checkbox Disabled Warning icon Warning
Transient field is not initialized on deserialization the Disabled checkbox Disabled Warning icon Warning

TestNG

Inspection name Default state Default severity
assertEquals() between objects of inconvertible types the Enabled checkbox Enabled Warning icon Warning
Constant TestNG assert argument the Disabled checkbox Disabled Warning icon Warning
Data provider problems the Enabled checkbox Enabled Warning icon Warning
dependsOnMethods problem the Enabled checkbox Enabled Warning icon Warning
Duplicated data provider names the Enabled checkbox Enabled Error icon Error
Expected exception never thrown in test method body the Disabled checkbox Disabled Warning icon Warning
Groups problem the Enabled checkbox Enabled Warning icon Warning
Invalid data provider return type the Enabled checkbox Enabled Error icon Error
JUnit Test can be converted to TestNG the Disabled checkbox Disabled Warning icon Warning
Message missing on TestNG assertion the Disabled checkbox Disabled Warning icon Warning
Misordered assertEquals() arguments the Disabled checkbox Disabled Warning icon Warning
Old TestNG annotation @Configuration is used the Disabled checkbox Disabled Warning icon Warning
Simplifiable TestNG assertion the Enabled checkbox Enabled Warning icon Warning
TestNG Javadoc can be converted to annotations the Disabled checkbox Disabled Warning icon Warning
Undeclared test the Disabled checkbox Disabled Warning icon Warning

Threading issues

Inspection name Default state Default severity
Access to static field locked on instance data the Disabled checkbox Disabled Warning icon Warning
AtomicFieldUpdater field not declared static final the Enabled checkbox Enabled Warning icon Warning
AtomicFieldUpdater issues the Enabled checkbox Enabled Warning icon Warning
await() not in loop the Disabled checkbox Disabled Warning icon Warning
await() without corresponding signal() the Disabled checkbox Disabled Warning icon Warning
Busy wait the Disabled checkbox Disabled Warning icon Warning
Call to System.runFinalizersOnExit() the Disabled checkbox Disabled Warning icon Warning
Call to Thread.run() the Enabled checkbox Enabled Warning icon Warning
Call to Thread.setPriority() the Disabled checkbox Disabled Warning icon Warning
Call to Thread.sleep() while synchronized the Disabled checkbox Disabled Warning icon Warning
Call to Thread.start() during object construction the Disabled checkbox Disabled Warning icon Warning
Call to Thread.stop(), suspend() or resume() the Disabled checkbox Disabled Warning icon Warning
Call to Thread.yield() the Disabled checkbox Disabled Warning icon Warning
Call to notify() instead of notifyAll() the Disabled checkbox Disabled Warning icon Warning
Call to signal() instead of signalAll() the Disabled checkbox Disabled Warning icon Warning
Call to a native method while locked the Disabled checkbox Disabled Warning icon Warning
Class directly extends java.lang.Thread the Disabled checkbox Disabled Warning icon Warning
Double-checked locking the Disabled checkbox Disabled Warning icon Warning
Empty synchronized statement the Disabled checkbox Disabled Warning icon Warning
Field accessed in both synchronized and unsynchronized contexts the Disabled checkbox Disabled Warning icon Warning
Instantiating a Thread with default run() method the Disabled checkbox Disabled Warning icon Warning
Lock acquired but not safely unlocked the Disabled checkbox Disabled Warning icon Warning
Method with synchronized block could be synchronized method the Disabled checkbox Disabled Warning icon Warning
Nested synchronized statement the Disabled checkbox Disabled Warning icon Warning
Non-atomic operation on volatile field the Enabled checkbox Enabled Warning icon Warning
Non-private field accessed in synchronized context the Disabled checkbox Disabled Warning icon Warning
Non thread-safe static field access the Disabled checkbox Disabled Warning icon Warning
notify() or notifyAll() called on java.util.concurrent.locks.Condition object the Disabled checkbox Disabled Warning icon Warning
notify() or notifyAll() without corresponding state change the Disabled checkbox Disabled Warning icon Warning
notify() without corresponding wait() the Disabled checkbox Disabled Warning icon Warning
signal() without corresponding await() the Disabled checkbox Disabled Warning icon Warning
Static initializer references subclass the Enabled checkbox Enabled Warning icon Warning
Synchronization on getClass() the Enabled checkbox Enabled Warning icon Warning
Synchronization on static field the Disabled checkbox Disabled Warning icon Warning
Synchronization on this the Disabled checkbox Disabled Warning icon Warning
Synchronization on a Lock object the Disabled checkbox Disabled Warning icon Warning
Synchronization on a non-final field the Enabled checkbox Enabled Warning icon Warning
Synchronization on an object initialized with a literal the Disabled checkbox Disabled Warning icon Warning
Synchronization on local variable or method parameter the Enabled checkbox Enabled Warning icon Warning
synchronized method the Disabled checkbox Disabled Warning icon Warning
ThreadLocal field not declared static final the Disabled checkbox Disabled Warning icon Warning
ThreadLocalRandom instance might be shared the Disabled checkbox Disabled Warning icon Warning
Unconditional wait() call the Disabled checkbox Disabled Warning icon Warning
Unsynchronized method overrides synchronized method the Disabled checkbox Disabled Warning icon Warning
Volatile array field the Disabled checkbox Disabled Warning icon Warning
wait() called on java.util.concurrent.locks.Condition object the Disabled checkbox Disabled Warning icon Warning
wait() not in loop the Disabled checkbox Disabled Warning icon Warning
wait() or await() without timeout the Disabled checkbox Disabled Warning icon Warning
wait() or notify() while not synchronized the Disabled checkbox Disabled Warning icon Warning
wait() while holding two locks the Disabled checkbox Disabled Warning icon Warning
wait() without corresponding notify() the Disabled checkbox Disabled Warning icon Warning
while loop spins on field the Enabled checkbox Enabled Warning icon Warning

toString() issues

Inspection name Default state Default severity
Class does not override toString() method the Disabled checkbox Disabled Warning icon Warning
Field not used in toString() method the Disabled checkbox Disabled Warning icon Warning

Verbose or redundant code constructs

Inspection name Default state Default severity
Comparator can be simplified the Enabled checkbox Enabled Warning icon Warning
Condition is covered by further condition the Enabled checkbox Enabled Warning icon Warning
Duplicate branches in switch the Enabled checkbox Enabled Weak Warning icon Weak Warning
Excessive lambda usage the Enabled checkbox Enabled Warning icon Warning
Excessive range check the Enabled checkbox Enabled Warning icon Warning
Explicit array filling the Enabled checkbox Enabled Warning icon Warning
Manual min/max calculation the Enabled checkbox Enabled Warning icon Warning
Multiple occurrences of the same expression the Enabled checkbox Enabled Weak Warning icon Weak Warning
Redundant compare method call the Enabled checkbox Enabled Warning icon Warning
Redundant isInstance or cast call the Enabled checkbox Enabled Warning icon Warning
Redundant Collection operation the Enabled checkbox Enabled Warning icon Warning
Redundant String operation the Enabled checkbox Enabled Warning icon Warning
Redundant array creation the Enabled checkbox Enabled Warning icon Warning
Redundant type arguments the Enabled checkbox Enabled Warning icon Warning
Redundant type cast the Enabled checkbox Enabled Warning icon Warning
StringBuilder can be replaced with String the Enabled checkbox Enabled Warning icon Warning
Too weak variable type leads to unnecessary cast the Enabled checkbox Enabled Warning icon Warning
Unnecessary break statement the Enabled checkbox Enabled Warning icon Warning
Unnecessary continue statement the Enabled checkbox Enabled Warning icon Warning
Unnecessary default for enum switch statement the Enabled checkbox Enabled Warning icon Warning
Unnecessarily escaped character the Enabled checkbox Enabled Warning icon Warning
Unnecessary return statement the Enabled checkbox Enabled Warning icon Warning
Unnecessary label on break statement the Enabled checkbox Enabled Warning icon Warning
Unnecessary label on continue statement the Enabled checkbox Enabled Warning icon Warning

Visibility

Inspection name Default state Default severity
Access of inherited field looks like access of element in surrounding code the Disabled checkbox Disabled Warning icon Warning
Anonymous class variable hides variable in containing method the Disabled checkbox Disabled Warning icon Warning
Call to inherited method looks like call to local method the Disabled checkbox Disabled Warning icon Warning
Field name hides field in superclass the Disabled checkbox Disabled Warning icon Warning
Inner class field hides outer class field the Disabled checkbox Disabled Warning icon Warning
Lambda parameter hides field the Disabled checkbox Disabled Warning icon Warning
Local variable hides field the Disabled checkbox Disabled Warning icon Warning
Method overloads method of superclass the Disabled checkbox Disabled Warning icon Warning
Method overrides inaccessible method of superclass the Disabled checkbox Disabled Warning icon Warning
Method tries to override static method of superclass the Disabled checkbox Disabled Warning icon Warning
Module exports/opens package to itself the Enabled checkbox Enabled Warning icon Warning
Non-accessible class is exposed the Enabled checkbox Enabled Warning icon Warning
Parameter hides field the Disabled checkbox Disabled Warning icon Warning
Type parameter hides visible type the Enabled checkbox Enabled Warning icon Warning
Usage of service not declared in module-info the Enabled checkbox Enabled Warning icon Warning
Last modified: 19 August 2020