DuplicateExpressionsContext (@Nullable PsiCodeBlock body, @NotNull UserDataHolder session) { Map<PsiCodeBlock, DuplicateExpressionsContext> contexts = session.getUserData(CONTEXTS_KEY); return contexts != null ? contexts.get(body) : null; }