DataContext (@NotNull DataContext dataContext) { if (dataContext instanceof InjectedDataContextSupplier) { return ((InjectedDataContextSupplier)dataContext).getInjectedDataContext(); } return dataContext instanceof InjectedDataContext ? dataContext : new InjectedDataContext(dataContext); }