Skip to content

fix: avoid StackOverflowErrors and empty phi errors (#155) #422

fix: avoid StackOverflowErrors and empty phi errors (#155)

fix: avoid StackOverflowErrors and empty phi errors (#155) #422

GitHub Actions / Qodana Community for JVM completed Jan 28, 2025 in 0s

21 new problems found by Qodana Community for JVM

Qodana Community for JVM

21 new problems were found

Inspection name Severity Problems
Unused import directive 🔶 Warning 5
Unused symbol 🔶 Warning 5
Unstable API Usage 🔶 Warning 4
Constructor parameter is never used as a property 🔶 Warning 1
Local 'var' is never modified and can be declared as 'val' 🔶 Warning 1
Class member can have 'private' visibility ◽️ Notice 2
Unnecessary local variable ◽️ Notice 2
Cascade 'if' can be replaced with 'when' ◽️ Notice 1

💡 Qodana analysis was run in the pull request mode: only the changed files were checked

View the detailed Qodana report

To be able to view the detailed Qodana report, you can either:

To get *.log files or any other Qodana artifacts, run the action with upload-result option set to true,
so that the action will upload the files as the job artifacts:

      - name: 'Qodana Scan'
        uses: JetBrains/qodana-action@v2024.2.3
        with:
          upload-result: true
Contact Qodana team

Contact us at qodana-support@jetbrains.com

Details

This result was published with Qodana GitHub Action

Annotations

Check warning on line 16 in src/main/kotlin/de/sirywell/handlehints/mhtype/MethodTypeHelper.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Constructor parameter is never used as a property

Constructor parameter is never used as a property

Check warning on line 55 in src/main/kotlin/de/sirywell/handlehints/mhtype/MethodHandleTransformer.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Local 'var' is never modified and can be declared as 'val'

Variable is never modified, so it can be declared using 'val'

Check notice on line 60 in src/main/kotlin/de/sirywell/handlehints/dfa/SsaAnalyzer.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Cascade 'if' can be replaced with 'when'

Cascade 'if' should be replaced with 'when'

Check warning on line 5 in src/main/kotlin/de/sirywell/handlehints/foreign/MemoryLayoutHelper.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused import directive

Unused import directive

Check warning on line 9 in src/main/kotlin/de/sirywell/handlehints/TypeData.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused import directive

Unused import directive

Check warning on line 4 in src/main/kotlin/de/sirywell/handlehints/foreign/LinkerHelper.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused import directive

Unused import directive

Check warning on line 5 in src/main/kotlin/de/sirywell/handlehints/type/MemoryLayoutType.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused import directive

Unused import directive

Check warning on line 4 in src/main/kotlin/de/sirywell/handlehints/foreign/FunctionDescriptorHelper.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused import directive

Unused import directive

Check notice on line 567 in src/main/kotlin/de/sirywell/handlehints/mhtype/MethodHandlesMerger.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Class member can have 'private' visibility

Function 'nonNegativeInt' could be private

Check notice on line 8 in src/main/kotlin/de/sirywell/handlehints/TriState.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Class member can have 'private' visibility

Function 'join' could be private

Check notice on line 277 in src/main/kotlin/de/sirywell/handlehints/mhtype/MethodHandlesMerger.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unnecessary local variable

Variable is same as 'target' and can be inlined

Check notice on line 233 in src/main/kotlin/de/sirywell/handlehints/mhtype/MethodHandlesMerger.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unnecessary local variable

Variable is same as 'target' and can be inlined

Check warning on line 25 in src/main/kotlin/de/sirywell/handlehints/inspection/RedundantInvocationFix.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unstable API Usage

'hasModifier(com.intellij.lang.jvm.@org.jetbrains.annotations.NotNull JvmModifier)' is unstable because its signature references unstable enum 'com.intellij.lang.jvm.JvmModifier' marked with @ApiStatus.Experimental

Check warning on line 25 in src/main/kotlin/de/sirywell/handlehints/inspection/RedundantInvocationFix.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unstable API Usage

'STATIC' is declared in unstable package 'com.intellij.lang.jvm' marked with @ApiStatus.Experimental

Check warning on line 25 in src/main/kotlin/de/sirywell/handlehints/inspection/RedundantInvocationFix.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unstable API Usage

'com.intellij.lang.jvm.JvmModifier' is declared in unstable package 'com.intellij.lang.jvm' marked with @ApiStatus.Experimental

Check warning on line 98 in src/main/kotlin/de/sirywell/handlehints/inspection/MethodHandleInvokeInspection.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unstable API Usage

'from(com.intellij.modcommand.@org.jetbrains.annotations.Nullable ModCommandAction)' is unstable because its signature references unstable interface 'com.intellij.modcommand.ModCommandAction' marked with @ApiStatus.Experimental

Check warning on line 560 in src/main/kotlin/de/sirywell/handlehints/mhtype/MethodHandlesMerger.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused symbol

Function "whileLoop" is never used

Check warning on line 21 in src/main/kotlin/de/sirywell/handlehints/psiSupport.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused symbol

Function "isJavaLangInvoke" is never used

Check warning on line 471 in src/main/kotlin/de/sirywell/handlehints/type/MemoryLayoutType.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused symbol

Type alias "PathElementList" is never used

Check warning on line 426 in src/main/kotlin/de/sirywell/handlehints/mhtype/MethodHandlesMerger.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused symbol

Function "loop" is never used

Check warning on line 423 in src/main/kotlin/de/sirywell/handlehints/mhtype/MethodHandlesMerger.kt

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for JVM

Unused symbol

Function "iteratedLoop" is never used