logging EA-66745 - assert: JavaInheritorsGetter.addExpectedType

This commit is contained in:
Anna Kozlova
2015-03-23 20:33:22 +01:00
parent 5c9b57ea2f
commit 7a0e5f9426
@@ -156,7 +156,7 @@ public class JavaInheritorsGetter extends CompletionProvider<CompletionParameter
final String erasedText = TypeConversionUtil.erasure(psiType).getCanonicalText();
String canonicalText = psiType.getCanonicalText();
if (canonicalText.contains("?extends") || canonicalText.contains("?super")) {
LOG.error("Malformed canonical text: " + psiType + " of " + psiType.getClass() + "; " +
LOG.error("Malformed canonical text: " + canonicalText + "; presentable text: " + psiType + " of " + psiType.getClass() + "; " +
(psiType instanceof PsiClassReferenceType ? ((PsiClassReferenceType)psiType).getReference().getClass() : ""));
return null;
}