mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 08:06:56 +07:00
cleanup: get rid of usages of deprecated constants from PsiType (IDEA-309438)
GitOrigin-RevId: 3373eb8b47af51b9f6dd71e565f773d69e8a3218
This commit is contained in:
committed by
intellij-monorepo-bot
parent
0a1df5c00a
commit
8ce3039acf
@@ -51,7 +51,7 @@ public class PyConstructorArgumentCompletionContributor extends CompletionContri
|
||||
final String propName = PropertyUtilBase.getPropertyName(method);
|
||||
result.addElement(PyUtil.createNamedParameterLookup(propName, origin));
|
||||
}
|
||||
else if (method.getName().startsWith("add") && method.getName().endsWith("Listener") && PsiType.VOID.equals(method.getReturnType())) {
|
||||
else if (method.getName().startsWith("add") && method.getName().endsWith("Listener") && PsiTypes.voidType().equals(method.getReturnType())) {
|
||||
final PsiParameter[] parameters = method.getParameterList().getParameters();
|
||||
if (parameters.length == 1) {
|
||||
final PsiType type = parameters[0].getType();
|
||||
|
||||
Reference in New Issue
Block a user