mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
don't check expensive type annotations in org.intellij.plugins.intelliLang.util.PsiUtilEx.isString (IDEA-155740)
This commit is contained in:
+1
-1
@@ -91,7 +91,7 @@ public class PsiUtilEx {
|
||||
final String shortName = ((PsiClassType)type).getClassName();
|
||||
if (!Comparing.equal(shortName, CommonClassNames.JAVA_LANG_STRING_SHORT)) return false;
|
||||
}
|
||||
return CommonClassNames.JAVA_LANG_STRING.equals(type.getCanonicalText());
|
||||
return CommonClassNames.JAVA_LANG_STRING.equals(type.getCanonicalText(false));
|
||||
}
|
||||
|
||||
public static boolean isStringOrStringArray(@NotNull PsiType type) {
|
||||
|
||||
Reference in New Issue
Block a user