Skip to content

Add qodana integration #1

Add qodana integration

Add qodana integration #1

Triggered via push June 3, 2024 03:34
Status Success
Total duration 9m 59s
Artifacts

qodana.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

42 warnings and 9 notices
Class is exposed outside of its visibility scope: src/main/java/cn/yiiguxing/plugin/translate/ui/balloon/BalloonImpl.java#L1345
Class `AbstractPosition` is exposed outside its defined visibility scope
Class is exposed outside of its visibility scope: src/main/java/cn/yiiguxing/plugin/translate/ui/balloon/BalloonImpl.java#L1348
Class `AbstractPosition` is exposed outside its defined visibility scope
Class is exposed outside of its visibility scope: src/main/java/cn/yiiguxing/plugin/translate/ui/balloon/BalloonImpl.java#L1346
Class `AbstractPosition` is exposed outside its defined visibility scope
Class is exposed outside of its visibility scope: src/main/java/cn/yiiguxing/plugin/translate/ui/balloon/BalloonImpl.java#L1347
Class `AbstractPosition` is exposed outside its defined visibility scope
Deprecated API usage: src/main/java/cn/yiiguxing/plugin/translate/ui/balloon/BalloonImpl.java#L2023
'org.intellij.lang.annotations.JdkConstants' is deprecated
Deprecated API usage: src/main/java/cn/yiiguxing/plugin/translate/ui/balloon/BalloonImpl.java#L2076
'org.intellij.lang.annotations.JdkConstants' is deprecated
Deprecated API usage: src/main/java/cn/yiiguxing/plugin/translate/ui/balloon/BalloonImpl.java#L2019
'org.intellij.lang.annotations.JdkConstants' is deprecated
Deprecated API usage: src/main/java/cn/yiiguxing/plugin/translate/ui/balloon/BalloonImpl.java#L961
Overrides deprecated method in 'com.intellij.ide.FrameStateListener'
Deprecated API usage: src/main/java/cn/yiiguxing/plugin/translate/ui/balloon/BalloonPopupBuilder.java#L91
'isClientPropertyTrue(java.lang.Object, java.lang.@org.jetbrains.annotations.NotNull Object)' is deprecated
Deprecated API usage: src/main/java/cn/yiiguxing/plugin/translate/ui/balloon/BalloonImpl.java#L137
'getModifiers()' is deprecated since version 9
Incorrect string capitalization: src/main/java/cn/yiiguxing/plugin/translate/ui/balloon/BalloonImpl.java#L2135
The sentence capitalization is provided where title capitalization is required
Possibly lossy implicit cast in compound assignment: src/main/java/cn/yiiguxing/plugin/translate/ui/balloon/BalloonImpl.java#L164
Implicit cast from 'long' to 'int' in compound assignment can be lossy
Magic constant: src/main/java/cn/yiiguxing/plugin/translate/ui/balloon/BalloonImpl.java#L137
Should be one of: InputEvent.SHIFT_DOWN_MASK, InputEvent.CTRL_DOWN_MASK, InputEvent.META_DOWN_MASK, ... or their combination
Redundant type cast: src/main/java/cn/yiiguxing/plugin/translate/ui/balloon/BalloonImpl.java#L620
Casting `myContent` to `Component` is redundant
Unstable API Usage: src/main/java/cn/yiiguxing/plugin/translate/ui/balloon/BalloonImpl.java#L520
'canRectangleBeUsed(java.awt.@org.jetbrains.annotations.NotNull Component, java.awt.@org.jetbrains.annotations.NotNull Rectangle, com.intellij.ide.ui.@org.jetbrains.annotations.Nullable ScreenAreaConsumer)' is declared in unstable class 'com.intellij.ide.ui.PopupLocationTracker' marked with @ApiStatus.Experimental
Unstable API Usage: src/main/java/cn/yiiguxing/plugin/translate/ui/balloon/BalloonImpl.java#L779
'com.intellij.ide.ui.PopupLocationTracker' is marked unstable with @ApiStatus.Experimental
Unstable API Usage: src/main/java/cn/yiiguxing/plugin/translate/ui/balloon/BalloonImpl.java#L552
'canRectangleBeUsed(java.awt.@org.jetbrains.annotations.NotNull Component, java.awt.@org.jetbrains.annotations.NotNull Rectangle, com.intellij.ide.ui.@org.jetbrains.annotations.Nullable ScreenAreaConsumer)' is declared in unstable class 'com.intellij.ide.ui.PopupLocationTracker' marked with @ApiStatus.Experimental
Unstable API Usage: src/main/java/cn/yiiguxing/plugin/translate/ui/balloon/BalloonImpl.java#L558
'com.intellij.ide.ui.PopupLocationTracker' is marked unstable with @ApiStatus.Experimental
Unstable API Usage: src/main/java/cn/yiiguxing/plugin/translate/ui/balloon/BalloonImpl.java#L779
'register(com.intellij.ide.ui.@org.jetbrains.annotations.NotNull ScreenAreaConsumer)' is declared in unstable class 'com.intellij.ide.ui.PopupLocationTracker' marked with @ApiStatus.Experimental
Unstable API Usage: src/main/java/cn/yiiguxing/plugin/translate/ui/balloon/BalloonImpl.java#L552
'com.intellij.ide.ui.PopupLocationTracker' is marked unstable with @ApiStatus.Experimental
Unstable API Usage: src/main/java/cn/yiiguxing/plugin/translate/ui/balloon/BalloonImpl.java#L558
'canRectangleBeUsed(java.awt.@org.jetbrains.annotations.NotNull Component, java.awt.@org.jetbrains.annotations.NotNull Rectangle, com.intellij.ide.ui.@org.jetbrains.annotations.Nullable ScreenAreaConsumer)' is declared in unstable class 'com.intellij.ide.ui.PopupLocationTracker' marked with @ApiStatus.Experimental
Unstable API Usage: src/main/java/cn/yiiguxing/plugin/translate/ui/balloon/BalloonImpl.java#L520
'com.intellij.ide.ui.PopupLocationTracker' is marked unstable with @ApiStatus.Experimental
Unused symbol: src/main/kotlin/cn/yiiguxing/plugin/translate/util/ObservableValue.kt#L141
Class "NotifyOnEDTObservableValue" is never used
Unused symbol: src/main/kotlin/cn/yiiguxing/plugin/translate/ui/CollapsiblePanel.kt#L69
Function "setExpandCollapseListener" is never used
Unused symbol: src/main/kotlin/cn/yiiguxing/plugin/translate/util/ReadWritePropertyWrapper.kt#L6
Class "ReadWritePropertyWrapper" is never used
Unused symbol: src/main/kotlin/cn/yiiguxing/plugin/translate/util/Threads.kt#L21
Function "withPluginContextClassLoader" is never used