mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
EA-52324 - assert: ClassMappingNameConverter.getVariants: diagnostics
This commit is contained in:
@@ -52,7 +52,7 @@ public class ClassMappingNameConverter extends ResolvingConverter.StringConverte
|
||||
if (classElement == null) return Collections.emptyList();
|
||||
Object value = ((GenericDomValue)classElement).getValue();
|
||||
if (value == null) return Collections.emptyList();
|
||||
assert value instanceof PsiClass : classElement + " should have PsiClass type";
|
||||
assert value instanceof PsiClass : classElement + " should have PsiClass type, but was " + value;
|
||||
PsiClass psiClass = (PsiClass)value;
|
||||
|
||||
JavaCodeStyleManager codeStyleManager = JavaCodeStyleManager.getInstance(context.getProject());
|
||||
|
||||
Reference in New Issue
Block a user