From 0bec46d9f36da6b563e8c18ad01a4d63edc32eda Mon Sep 17 00:00:00 2001 From: peter Date: Mon, 9 May 2016 18:05:09 +0200 Subject: [PATCH] don't check expensive type annotations in org.intellij.plugins.intelliLang.util.PsiUtilEx.isString (IDEA-155740) --- .../org/intellij/plugins/intelliLang/util/PsiUtilEx.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/IntelliLang/java-support/org/intellij/plugins/intelliLang/util/PsiUtilEx.java b/plugins/IntelliLang/java-support/org/intellij/plugins/intelliLang/util/PsiUtilEx.java index 8feb277f15d2..337151fe0657 100644 --- a/plugins/IntelliLang/java-support/org/intellij/plugins/intelliLang/util/PsiUtilEx.java +++ b/plugins/IntelliLang/java-support/org/intellij/plugins/intelliLang/util/PsiUtilEx.java @@ -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) {