feature: quick fix for MethodHandles#constant with zero value #327
19 new problems found by Qodana Community for JVM
Qodana Community for JVM
19 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Unused symbol |
🔶 Warning | 6 |
Unstable API Usage |
🔶 Warning | 4 |
Unused import directive |
🔶 Warning | 2 |
Constructor parameter is never used as a property |
🔶 Warning | 1 |
Constant conditions |
🔶 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:
- Register at Qodana Cloud and configure the action
- Use GitHub Code Scanning with Qodana
- Host Qodana report at GitHub Pages
- Inspect and use
qodana.sarif.json
(see the Qodana SARIF format for details)
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/[email protected]
with:
upload-result: true
Contact Qodana team
Contact us at [email protected]
- Or via our issue tracker: https://jb.gg/qodana-issue
- Or share your feedback: https://jb.gg/qodana-discussions
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
github-actions / Qodana Community for JVM
Constructor parameter is never used as a property
Constructor parameter is never used as a property
Check notice on line 57 in src/main/kotlin/de/sirywell/handlehints/dfa/SsaAnalyzer.kt
github-actions / Qodana Community for JVM
Cascade 'if' can be replaced with 'when'
Cascade 'if' should be replaced with 'when'
Check warning on line 621 in src/main/kotlin/de/sirywell/handlehints/dfa/SsaAnalyzer.kt
github-actions / Qodana Community for JVM
Constant conditions
Index is always out of bounds
Check warning on line 9 in src/main/kotlin/de/sirywell/handlehints/TypeData.kt
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
github-actions / Qodana Community for JVM
Unused import directive
Unused import directive
Check notice on line 8 in src/main/kotlin/de/sirywell/handlehints/TriState.kt
github-actions / Qodana Community for JVM
Class member can have 'private' visibility
Function 'join' could be private
Check notice on line 510 in src/main/kotlin/de/sirywell/handlehints/mhtype/MethodHandlesMerger.kt
github-actions / Qodana Community for JVM
Class member can have 'private' visibility
Function 'nonNegativeInt' could be private
Check notice on line 230 in src/main/kotlin/de/sirywell/handlehints/mhtype/MethodHandlesMerger.kt
github-actions / Qodana Community for JVM
Unnecessary local variable
Variable is same as 'target' and can be inlined
Check notice on line 274 in src/main/kotlin/de/sirywell/handlehints/mhtype/MethodHandlesMerger.kt
github-actions / Qodana Community for JVM
Unnecessary local variable
Variable is same as 'target' and can be inlined
github-actions / Qodana Community for JVM
Unstable API Usage
'hasModifier([email protected] JvmModifier)' is unstable because its signature references unstable enum 'com.intellij.lang.jvm.JvmModifier' marked with @ApiStatus.Experimental
github-actions / Qodana Community for JVM
Unstable API Usage
'STATIC' is declared in unstable package 'com.intellij.lang.jvm' marked with @ApiStatus.Experimental
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
github-actions / Qodana Community for JVM
Unstable API Usage
'from([email protected] ModCommandAction)' is unstable because its signature references unstable interface 'com.intellij.modcommand.ModCommandAction' marked with @ApiStatus.Experimental
github-actions / Qodana Community for JVM
Unused symbol
Function "asType" is never used
Check warning on line 387 in src/main/kotlin/de/sirywell/handlehints/mhtype/MethodHandlesMerger.kt
github-actions / Qodana Community for JVM
Unused symbol
Function "loop" is never used
Check warning on line 471 in src/main/kotlin/de/sirywell/handlehints/type/MemoryLayoutType.kt
github-actions / Qodana Community for JVM
Unused symbol
Type alias "PathElementList" is never used
Check warning on line 384 in src/main/kotlin/de/sirywell/handlehints/mhtype/MethodHandlesMerger.kt
github-actions / Qodana Community for JVM
Unused symbol
Function "iteratedLoop" is never used
Check warning on line 503 in src/main/kotlin/de/sirywell/handlehints/mhtype/MethodHandlesMerger.kt
github-actions / Qodana Community for JVM
Unused symbol
Function "whileLoop" is never used
Check warning on line 18 in src/main/kotlin/de/sirywell/handlehints/psiSupport.kt
github-actions / Qodana Community for JVM
Unused symbol
Function "isJavaLangInvoke" is never used