mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
generate toString(): replace policy: remember user choice where to insert, it would be used for the initial toString() generation (IDEA-100244)
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ public class ReplacePolicy implements ConflictResolutionPolicy {
|
||||
}
|
||||
|
||||
public void setNewMethodStrategy(InsertNewMethodStrategy strategy) {
|
||||
// not needed here
|
||||
DuplicatePolicy.getInstance().setNewMethodStrategy(strategy);
|
||||
}
|
||||
|
||||
public PsiMethod applyMethod(PsiClass clazz, PsiMethod existingMethod, @NotNull PsiMethod newMethod, Editor editor) throws IncorrectOperationException {
|
||||
|
||||
Reference in New Issue
Block a user