remove unused method

GitOrigin-RevId: b89f0c7f61bd58f9ed6e9fd15d4981e5227c105f
This commit is contained in:
Alexey Kudravtsev
2022-08-08 18:05:13 +02:00
committed by intellij-monorepo-bot
parent b6e4a729c4
commit 714d26edd8
2 changed files with 3 additions and 12 deletions

View File

@@ -163,9 +163,6 @@ public abstract class QuickFixFactory {
@NotNull
public abstract IntentionAction createAddTypeCastFix(@NotNull PsiType type, @NotNull PsiExpression expression);
@NotNull
public abstract IntentionAction createWrapExpressionFix(@NotNull PsiType type, @NotNull PsiExpression expression);
@NotNull
public abstract IntentionAction createReuseVariableDeclarationFix(@NotNull PsiLocalVariable variable);
@@ -593,9 +590,9 @@ public abstract class QuickFixFactory {
* @param parameter receiver parameter to change name for
* @param newName new name of the receiver parameter
* <p>
* In an instance method the name of the receiver parameter must be <code>this</code>.
* In an instance method the name of the receiver parameter must be {@code this}.
* <p>
* In an inner class's constructor the name of the receiver parameter must be <i>Identifier</i> . <code>this</code>
* In an inner class's constructor the name of the receiver parameter must be <i>Identifier</i>.{@code this}
* where <i>Identifier</i> is the simple name of the class or interface which is the immediately enclosing type
* declaration of the inner class.
* @return a new fix

View File

@@ -257,12 +257,6 @@ public final class QuickFixFactoryImpl extends QuickFixFactory {
return new AddTypeCastFix(type, expression);
}
@NotNull
@Override
public IntentionAction createWrapExpressionFix(@NotNull PsiType type, @NotNull PsiExpression expression) {
return new WrapExpressionFix(type, expression, null);
}
@NotNull
@Override
public IntentionAction createReuseVariableDeclarationFix(@NotNull PsiLocalVariable variable) {
@@ -379,7 +373,7 @@ public final class QuickFixFactoryImpl extends QuickFixFactory {
}
@Override
public IntentionAction createUpgradeSdkFor(@NotNull LanguageLevel level) {
public @NotNull IntentionAction createUpgradeSdkFor(@NotNull LanguageLevel level) {
return new UpgradeSdkFix(level);
}