mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 08:51:02 +07:00
[java-highlighting] QuickFixFactory#createReceiverParameterTypeFix: rename parameters and add Javadoc
GitOrigin-RevId: ac094acae400806999cbe6b434d8abe6d2a3e388
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7ce1003bd9
commit
b49876697c
@@ -530,8 +530,22 @@ public abstract class QuickFixFactory {
|
||||
|
||||
public abstract @NotNull IntentionAction createMoveMemberIntoClassFix(@NotNull PsiErrorElement errorElement);
|
||||
|
||||
public abstract @NotNull IntentionAction createReceiverParameterTypeFix(@NotNull PsiReceiverParameter receiverParameter,
|
||||
@NotNull PsiType enclosingClassType);
|
||||
/**
|
||||
* Creates a fix that changes the type of the receiver parameter
|
||||
*
|
||||
* @param parameter receiver parameter to change type for
|
||||
* @param type new type of the receiver parameter
|
||||
* <p>
|
||||
* In an instance method the type of the receiver parameter must be
|
||||
* the class or interface in which the method is declared.
|
||||
* <p>
|
||||
* In an inner class's constructor the type of the receiver parameter
|
||||
* must be the class or interface which is the immediately enclosing
|
||||
* type declaration of the inner class.
|
||||
* @return a new fix
|
||||
*/
|
||||
public abstract @NotNull IntentionAction createReceiverParameterTypeFix(@NotNull PsiReceiverParameter parameter,
|
||||
@NotNull PsiType type);
|
||||
|
||||
public abstract @NotNull IntentionAction createConvertInterfaceToClassFix(@NotNull PsiClass aClass);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user