mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-29 17:57:53 +08:00
Cleanup
This commit is contained in:
parent
c2b543befd
commit
cd4c76ec22
@ -19,7 +19,7 @@ import org.jetbrains.annotations.*;
|
|||||||
* @author dsl
|
* @author dsl
|
||||||
*/
|
*/
|
||||||
@NonNls
|
@NonNls
|
||||||
public class ConditionalOperatorConvertor extends PsiElementBaseIntentionAction implements IntentionAction {
|
public class ConditionalOperatorConverter extends PsiElementBaseIntentionAction implements IntentionAction {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If this action is applicable, returns the text to be shown in the list of
|
* If this action is applicable, returns the text to be shown in the list of
|
||||||
@ -36,7 +36,6 @@ public class ConditionalOperatorConvertor extends PsiElementBaseIntentionAction
|
|||||||
* "auto-show" state of intentions.
|
* "auto-show" state of intentions.
|
||||||
* It is also the directory name for the descriptions.
|
* It is also the directory name for the descriptions.
|
||||||
*
|
*
|
||||||
* @see com.intellij.codeInsight.intention.IntentionManager#registerIntentionAndMetaData
|
|
||||||
* @return the intention family name.
|
* @return the intention family name.
|
||||||
*/
|
*/
|
||||||
@NotNull
|
@NotNull
|
||||||
@ -96,7 +95,7 @@ public class ConditionalOperatorConvertor extends PsiElementBaseIntentionAction
|
|||||||
* @param element a reference to the PSI element currently under the caret
|
* @param element a reference to the PSI element currently under the caret
|
||||||
* @throws IncorrectOperationException Thrown by underlying (Psi model) write action context
|
* @throws IncorrectOperationException Thrown by underlying (Psi model) write action context
|
||||||
* when manipulation of the psi tree fails.
|
* when manipulation of the psi tree fails.
|
||||||
* @see ConditionalOperatorConvertor#startInWriteAction()
|
* @see ConditionalOperatorConverter#startInWriteAction()
|
||||||
*/
|
*/
|
||||||
public void invoke(@NotNull Project project, Editor editor, PsiElement element) throws IncorrectOperationException {
|
public void invoke(@NotNull Project project, Editor editor, PsiElement element) throws IncorrectOperationException {
|
||||||
|
|
@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
<extensions defaultExtensionNs="com.intellij">
|
<extensions defaultExtensionNs="com.intellij">
|
||||||
<intentionAction>
|
<intentionAction>
|
||||||
<className>org.intellij.sdk.intention.ConditionalOperatorConvertor</className>
|
<className>org.intellij.sdk.intention.ConditionalOperatorConverter</className>
|
||||||
<category>SDK Intentions</category>
|
<category>SDK Intentions</category>
|
||||||
</intentionAction>
|
</intentionAction>
|
||||||
</extensions>
|
</extensions>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user