mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
[java-decompiler] don't initialize AnAction presentation in constructor
Fix warning from DevKit inspection `ActionPresentationInstantiatedInCtor`. GitOrigin-RevId: ea8328fe498d95f9272759e149f794cea7ecf07d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
3757083de8
commit
d60de2b601
@@ -44,7 +44,11 @@
|
||||
|
||||
<actions>
|
||||
<group id="idea.java.decompiler.action.group">
|
||||
<action id="ByteCodeDecompiler" class="org.jetbrains.java.decompiler.ShowDecompiledClassAction"/>
|
||||
<action
|
||||
id="ByteCodeDecompiler"
|
||||
class="org.jetbrains.java.decompiler.ShowDecompiledClassAction"
|
||||
icon="AllIcons.FileTypes.JavaClass"
|
||||
/>
|
||||
<add-to-group group-id="QuickActions" anchor="after" relative-to-action="QuickJavaDoc"/>
|
||||
</group>
|
||||
</actions>
|
||||
|
||||
@@ -23,7 +23,7 @@ decompiler.preset.high.description=Maximal readability
|
||||
decompiler.preset.medium.description=Preserve synthetic code
|
||||
decompiler.preset.low.description=Closer to bytecode
|
||||
|
||||
action.show.decompiled.name=Show Decompiled Class
|
||||
action.ByteCodeDecompiler.text=Show Decompiled Class
|
||||
|
||||
decompiling.progress=Decompiling {0}
|
||||
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ import com.intellij.psi.PsiElement
|
||||
import com.intellij.psi.util.PsiTreeUtil
|
||||
import com.intellij.psi.util.PsiUtilBase
|
||||
|
||||
class ShowDecompiledClassAction : AnAction(IdeaDecompilerBundle.message("action.show.decompiled.name")) {
|
||||
class ShowDecompiledClassAction : AnAction() {
|
||||
|
||||
override fun getActionUpdateThread(): ActionUpdateThread = ActionUpdateThread.BGT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user