mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Merge branch 'python-fixes'
This commit is contained in:
@@ -67,9 +67,8 @@ public class AddMethodQuickFix implements LocalQuickFix {
|
||||
|
||||
public void applyFix(@NotNull Project project, @NotNull ProblemDescriptor descriptor) {
|
||||
try {
|
||||
// descriptor points to the unresolved identifier
|
||||
// there can be no name clash, else the name would have resolved, and it hasn't.
|
||||
PsiElement problem_elt = descriptor.getPsiElement().getParent(); // id -> ref expr
|
||||
PsiElement problem_elt = descriptor.getPsiElement();
|
||||
PyClass cls = myQualifierType.getPyClass();
|
||||
boolean call_by_class = myQualifierType.isDefinition();
|
||||
String item_name = myIdentifier;
|
||||
|
||||
Reference in New Issue
Block a user