@Override public <T> T getUserData(@NotNull Key<T> key) { final TextEditor textEditor = myPanel.getFileEditor(); if (textEditor != null) { return textEditor.getUserData(key); } return myUserDataHolder.getUserData(key); }
@Nullable @Override public <T> T getUserData(@NotNull Key<T> key) { return myUserDataHolder.getUserData(key); }
@Override public <T> T getUserData(@NotNull Key<T> key) { return myDataHolderBase.getUserData(key); }
public T getCredentials(UserDataHolderBase dataHolder) { return dataHolder.getUserData(getCredentialsKey()); }