void ( @NotNull MemberScope scope, @NotNull DeclarationDescriptor expected, @Nullable DeclarationDescriptor found ) { if (found == null) { report(expected, "Not found in " + scope); } if (true ? expected != found : !expected.equals(found)) { report(expected, "Lookup error in " + scope + ": " + found); } }