mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
another check for EA-26006 - IOE: PsiJavaParserFacadeImpl.createTypeElementFromText
This commit is contained in:
@@ -46,7 +46,7 @@ def constructElementTypeArg(def psiType) {
|
||||
def typeText = psiType.canonicalText ?: psiType.presentableText
|
||||
if (!typeText || typeText == 'null') return ""
|
||||
def arg = extractTypeParameter(typeText)
|
||||
if (!arg) return ""
|
||||
if (!arg || arg == "null") return ""
|
||||
return "<$arg>"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user