Inspectopedia Help

Code maturity

'Throwable' printed to 'System.out'   New in this release

Reports calls to System.out.println() with an exception as an argument.

Call to 'Thread.dumpStack()'   New in this release

Reports usages of Thread.dumpStack().

Call to 'printStackTrace()'   New in this release

Reports calls to Throwable.printStackTrace() without arguments.

Commented out code   New in this release

Reports comments that contain Java code.

Deprecated API usage   New in this release

Reports usages of deprecated classes, fields, and methods.

Deprecated member is still used   New in this release

Reports deprecated classes, methods, and fields that are used in your code nonetheless.

Method can be extracted   New in this release

Suggests extracting fragments of code to a separate method to make code more clear.

Null value for Optional type   New in this release

Reports null assigned to an Optional variable or returned from a method returning Optional.

Redundant @ScheduledForRemoval annotation   New in this release

Reports usages of @ApiStatus.ScheduledForRemoval annotation without inVersion attribute in code which targets Java 9 or newer version.

Usage of API marked for removal   New in this release

Reports usages of deprecated APIs (classes, fields, and methods) that are marked for removal with @Deprecated(forRemoval=true).

Use of 'System.out' or 'System.err'   New in this release

Reports usages of System.out or System.err.

Use of obsolete collection type   New in this release

Reports usages of java.util.Vector, java.util.Hashtable and java.util.Stack.

Use of obsolete date-time API   New in this release

Reports usages of java.util.Date, java.util.Calendar, java.util.GregorianCalendar, java.util.TimeZone, and java.util.SimpleTimeZone.

Last modified: 11 September 2024