Unnamed: 0
int64
0
305k
body
stringlengths
7
52.9k
name
stringlengths
1
185
285,700
int () { return myName.hashCode(); }
hashCode
285,701
long () { return modCounter.get(); }
getModificationCount
285,702
PluginManagerConfigurableService () { return ApplicationManager.getApplication().getService(PluginManagerConfigurableService.class); }
getInstance
285,703
PluginInfoProvider () { return ApplicationManager.getApplication().getService(PluginInfoProvider.class); }
getInstance
285,704
String () { return null; }
getDescription
285,705
String () { return null; }
getComment
285,706
Boolean () { return null; }
optionalCheckboxDefaultValue
285,707
void () {}
_init
285,708
JComponent () { throw new UnsupportedOperationException(); }
getComponent
285,709
Icon () { return null; }
getIcon
285,710
void (StepListener listener) { myListeners.add(listener); }
registerStepListener
285,711
void () { for (StepListener listener: myListeners) { listener.stateChanged(); } }
fireStateChanged
285,712
JComponent () { return null; }
getPreferredFocusedComponent
285,713
String () { return super.getMessage(); }
getMessage
285,714
void () { }
_init
285,715
void (Listener listener) { myEventDispatcher.addListener(listener); }
addStepListener
285,716
void (@Nullable final @NlsContexts.DialogTitle String title) { myTitle = title; }
setTitle
285,717
void () { myEventDispatcher.getMulticaster().stateChanged(); }
fireStateChanged
285,718
void () { myEventDispatcher.getMulticaster().doNextAction(); }
fireGoNext
285,719
Icon () { return null; }
getIcon
285,720
void () { }
dispose
285,721
String () { return null; }
getHelpId
285,722
Object () { return myAttachedObject; }
getAttachedObject
285,723
Point () { return myPoint; }
getPoint
285,724
boolean () { return false; }
isEmpty
285,725
String () { return myName; }
getName
285,726
int () { return myActionId; }
getActionId
285,727
Cursor () { return myCursor; }
getCursor
285,728
Cursor () { return myRejectCursor; }
getRejectCursor
285,729
String () { return "IDEA_WORKSPACE"; }
getName
285,730
String () { return IdeCoreBundle.message("filetype.idea.workspace.description"); }
getDescription
285,731
String () { return IdeCoreBundle.message("filetype.idea.workspace.display.name"); }
getDisplayName
285,732
String () { return DEFAULT_EXTENSION; }
getDefaultExtension
285,733
Icon () { return AllIcons.Nodes.IdeaModule; }
getIcon
285,734
boolean () { return false; }
isBinary
285,735
String (@NotNull VirtualFile file, final byte @NotNull [] content) { return CharsetToolkit.UTF8; }
getCharset
285,736
void (Path file) { }
revealFile
285,737
UnlockOption (@NotNull Project project, List<? extends VirtualFile> files) { return null; }
askForUnlock
285,738
boolean (Project project, VirtualFile file) { return false; }
isFileRecentlyChanged
285,739
void (Class<?> clazz) { }
logIdeScriptUsageEvent
285,740
void (@NlsContexts.SystemNotificationTitle String title, @NlsContexts.SystemNotificationText String text) { }
systemNotify
285,741
DataContext (@Nullable Component component) { return DataContext.EMPTY_CONTEXT; }
createUiDataContext
285,742
DataContext (@NotNull DataContext dataContext) { return DataContext.EMPTY_CONTEXT; }
createAsyncDataContext
285,743
DataContext (@NotNull DataContext dataContext, @NotNull DataProvider dataProvider) { return DataContext.EMPTY_CONTEXT; }
createCustomizedDataContext
285,744
void (@NotNull AnActionEvent event) { }
initUpdateSession
285,745
Component () { return null; }
getComponentFromRecentMouseEvent
285,746
void (URL url) { }
browse
285,747
void (String url) { }
browse
285,748
void (AnAction action, AnActionEvent event) { }
performActionDumbAwareWithCallbacks
285,749
boolean (Project project, String toolWindowId, MessageType messageType, @Nls String fullMessage, Icon icon, HyperlinkListener listener) { return false; }
notifyByBalloon
285,750
SSLSocketFactory () { return null; }
getSslSocketFactory
285,751
boolean () { return false; }
isUseSafeWrite
285,752
VirtualFile[] (FileChooserDescriptor descriptor, Project project, VirtualFile toSelect) { return VirtualFile.EMPTY_ARRAY; }
chooseFiles
285,753
VirtualFile (FileChooserDescriptor descriptor, JComponent component, Project project, VirtualFile dir) { return null; }
chooseFile
285,754
SSLContext () { return null; }
getSslContext
285,755
String () { return null; }
getProxyLogin
285,756
String () { return null; }
getPlainProxyPassword
285,757
boolean () { return false; }
isProxyAuth
285,758
List<Proxy> (URL url) { return new ArrayList<>(); }
getProxyList
285,759
void (String title, String message, String helpTopic, String iconId, boolean showCancelButton, Project project) { }
showRefactoringMessageDialog
285,760
void (Editor editor, String message) { }
showErrorHint
285,761
IdeUiService () { return ApplicationManager.getApplication().getService(IdeUiService.class); }
getInstance
285,762
boolean (String title, String message) { return false; }
showErrorDialog
285,763
ExpirableRunnable (@NotNull Project project, @NotNull Runnable runnable) { return new ExpirableRunnable() { @Override public boolean isExpired() { return project.isDisposed(); } @Override public void run() { runnable.run(); } }; }
forProject
285,764
boolean () { return project.isDisposed(); }
isExpired
285,765
void () { runnable.run(); }
run
285,766
String () { return myName; }
getName
285,767
ToolWindowContentUiType (@Nullable String name) { if (TABBED.getName().equals(name)) { return TABBED; } else if (COMBO.getName().equals(name)) { return COMBO; } else { LOG.debug("Unknown content type=" + name); return TABBED; } }
getInstance
285,768
String () { return "ToolWindowContentUiType{" + "myName='" + myName + '\'' + '}'; }
toString
285,769
String () { return myText; }
toString
285,770
boolean () { return this == TOP || this == BOTTOM; }
isHorizontal
285,771
boolean () { return this == LEFT && !UISettings.getInstance().getLeftHorizontalSplit() || this == RIGHT && !UISettings.getInstance().getRightHorizontalSplit(); }
isSplitVertically
285,772
ToolWindowAnchor (@NotNull String anchor) { return switch (anchor) { case "top" -> TOP; case "left" -> LEFT; case "bottom" -> BOTTOM; case "right" -> RIGHT; default -> throw new IllegalArgumentException("Unknown anchor constant: " + anchor); }; }
fromText
285,773
ActionCallback (@NotNull Component c, @Nullable Project project) { return requestFocus(c, false); }
requestFocusInProject
285,774
void (ActionCallback done, @NotNull String cause) {}
typeAheadUntil
285,775
ActionCallback (boolean forced) { return ActionCallback.DONE; }
requestDefaultFocus
285,776
IdeFocusManager (@Nullable Project project) { return getGlobalInstance(); }
getInstance
285,777
IdeFocusManager (@Nullable DataContext context) { return getGlobalInstance(); }
findInstanceByContext
285,778
IdeFocusManager (@NotNull Component component) { return getGlobalInstance(); }
findInstanceByComponent
285,779
IdeFocusManager () { return getGlobalInstance(); }
findInstance
285,780
IdeFocusManager () { IdeFocusManager focusManager = null; Application app = ApplicationManager.getApplication(); if (app != null && LoadingState.COMPONENTS_REGISTERED.isOccurred()) { focusManager = app.getService(IdeFocusManager.class); } // happens when app is semi-initialized (e.g. when IDEA server dialog is shown) return focusManager == null ? PassThroughIdeFocusManager.getInstance() : focusManager; }
getGlobalInstance
285,781
void () { }
dispose
285,782
PassThroughIdeFocusManager () { return ourInstance; }
getInstance
285,783
ActionCallback (@NotNull Component c, boolean forced) { c.requestFocus(); return ActionCallback.DONE; }
requestFocus
285,784
JComponent (@NotNull JComponent component) { return component; }
getFocusTargetFor
285,785
void (@NotNull Runnable runnable) { runnable.run(); }
doWhenFocusSettlesDown
285,786
void (@NotNull Runnable runnable, @NotNull ModalityState modality) { runnable.run(); }
doWhenFocusSettlesDown
285,787
void (@NotNull ExpirableRunnable runnable) { if (!runnable.isExpired()) { runnable.run(); } }
doWhenFocusSettlesDown
285,788
Component (@NotNull Component component) { final Component focused = KeyboardFocusManager.getCurrentKeyboardFocusManager().getFocusOwner(); if (focused == null) return null; if (focused == component || SwingUtilities.isDescendingFrom(focused, component)) return focused; return null; }
getFocusedDescendantFor
285,789
boolean () { return true; }
isFocusTransferEnabled
285,790
Component () { return KeyboardFocusManager.getCurrentKeyboardFocusManager().getFocusOwner(); }
getFocusOwner
285,791
void (@NotNull DataContext context, @NotNull Runnable runnable) { runnable.run(); }
runOnOwnContext
285,792
Component (@Nullable Window frame) { return null; }
getLastFocusedFor
285,793
IdeFrame () { return null; }
getLastFocusedFrame
285,794
Window () { return null; }
getLastFocusedIdeWindow
285,795
void (JComponent c) { }
toFront
285,796
WindowManager () { return ApplicationManager.getApplication().getService(WindowManager.class); }
getInstance
285,797
boolean (@NotNull Window window) { return false; }
isNotSuggestAsParent
285,798
void (@NotNull Project project) { }
updateDefaultFrameInfoOnProjectClose
285,799
boolean (String place) { return MAIN_MENU.equals(place) || ACTION_SEARCH.equals(place) || isShortcutPlace(place) || place != null && place.startsWith(POPUP_PREFIX) && isMainMenuOrActionSearch(place.substring(POPUP_PREFIX.length())); }
isMainMenuOrActionSearch