Inspectopedia Help

Migration

'@JvmOverloads' annotation cannot be used on constructors of annotation classes since 1.4   New in this release

Reports @JvmOverloads on constructors of annotation classes because it's meaningless.

'kotlin.browser' and 'kotlin.dom' packages are deprecated since 1.4   New in this release

Reports usages of kotlin.dom and kotlin.browser packages.

Ambiguous logical expressions in 'when' branches since 1.7   New in this release

Reports ambiguous logical expressions in when branches which cause compilation errors in Kotlin 1.8 and later.

Deprecated 'Enum.declaringClass' property   New in this release

Reports 'declaringClass' property calls on Enum that will lead to compilation error since 1.9.

Do not propagate method deprecation through overrides since 1.9   New in this release

Reports a declarations that are propagated by @Deprecated annotation that will lead to compilation error since 1.9.

Experimental coroutines usages are deprecated since 1.3   New in this release

Reports code that uses experimental coroutines.

Explicit conversion from `Int` needed since 1.9   New in this release

Reports expressions that will be of type Int, thus causing compilation errors in Kotlin 1.9 and later.

Forbidden constructor call   New in this release

Reports a constructor calls on functional supertypes that will lead to compilation error since 1.9.

Inline classes are deprecated since 1.5   New in this release

Reports inline classes that are deprecated and cause compilation warnings in Kotlin 1.5 and later.

Local variable with type parameters   New in this release

Reports local variables with type parameters.

MIN_VALUE step in fromClosedRange() since 1.3   New in this release

Reports IntProgression.fromClosedRange() and LongProgression.fromClosedRange() with MIN_VALUE step.

Meaningless annotations targets on superclass   New in this release

Reports meaningless annotation targets on superclasses since Kotlin 1.4.

Non-exhaustive 'when' statements will be prohibited since 1.7   New in this release

Reports a non-exhaustive when statements that will lead to compilation error since 1.7.

Progression resolution change since 1.9   New in this release

Reports overloaded function calls where an argument requires an explicit cast to resolve to a proper declaration.

Redundant label   New in this release

Reports redundant labels which cause compilation errors since Kotlin 1.4.

Repeated annotation which is not marked as '@Repeatable'   New in this release

Reports the repeated use of a non-@Repeatable annotation on property accessors.

Target label does not denote a function since 1.4   New in this release

Reports labels that don't points to a functions.

Unused 'args' on 'main' since 1.4   New in this release

Reports main function with an unused single parameter.

Usage of redundant or deprecated syntax or deprecated symbols   New in this release

Reports obsolete language features and unnecessarily verbose code constructs during the code cleanup operation (Code | Code Cleanup).

Gradle  

Sub-group of 1 inspection that provides checks for Gradle

Maven  

Sub-group of 1 inspection that provides checks for Maven

Last modified: 11 September 2024