TypeConstraint (@NotNull PsiElement anchor, @NotNull String jvmClassName) { PsiClass aClass = DebuggerUtils.findClass(jvmClassName.replace('/', '.'), anchor.getProject(), anchor.getResolveScope()); return aClass != null ? TypeConstraints.exactClass(aClass) : TypeConstraints.TOP; }