mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
use correct language level when creating name identifiers for renamed elements (EA-43620 - CCE: PyElementGeneratorImpl.createNameIdentifier)
This commit is contained in:
@@ -29,7 +29,7 @@ public abstract class PyElementGenerator {
|
||||
return ServiceManager.getService(project, PyElementGenerator.class);
|
||||
}
|
||||
|
||||
public abstract ASTNode createNameIdentifier(String name);
|
||||
public abstract ASTNode createNameIdentifier(String name, LanguageLevel languageLevel);
|
||||
|
||||
/**
|
||||
* str must have quotes around it and be fully escaped.
|
||||
|
||||
Reference in New Issue
Block a user