mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-41550 - PIEAE: CompositePsiElement.getProject
(cherry picked from commit ff668adf891283edfe677a0a1d85182570b4f5b5)
This commit is contained in:
@@ -116,7 +116,7 @@ public class TypeMigrationLabeler {
|
||||
usages.add(new UsageInfo(expr) {
|
||||
@Nullable
|
||||
public String getTooltipText() {
|
||||
final PsiType type = expr.getType();
|
||||
final PsiType type = expr.isValid() ? expr.getType() : null;
|
||||
if (type == null) return null;
|
||||
return "Cannot convert type of the expression from " +
|
||||
type.getCanonicalText() + " to " + p.getSecond().getCanonicalText();
|
||||
|
||||
Reference in New Issue
Block a user