Unnamed: 0
int64
0
305k
body
stringlengths
7
52.9k
name
stringlengths
1
185
253,700
int () { return myText.length(); }
getTextLength
253,701
int () { return 1; }
getLineCount
253,702
int (int offset) { return 0; }
getLineNumber
253,703
int (int line) { return 0; }
getLineStartOffset
253,704
int (int line) { return myText.length(); }
getLineEndOffset
253,705
void (int offset, @NotNull CharSequence s) { myText.insert(offset, s); }
insertString
253,706
void (int startOffset, int endOffset) { myText.delete(startOffset, endOffset); }
deleteString
253,707
void (int startOffset, int endOffset, @NotNull CharSequence s) { myText.replace(startOffset, endOffset, s.toString()); myModStamp = LocalTimeCounter.currentTime(); }
replaceString
253,708
boolean () { return false; }
isWritable
253,709
long () { return myModStamp; }
getModificationStamp
253,710
RangeMarker (int startOffset, int endOffset, boolean surviveOnExternalChange) { throw new UnsupportedOperationException("Not implemented"); }
createRangeMarker
253,711
RangeMarker (int startOffset, int endOffset) { throw new UnsupportedOperationException("Not implemented"); }
createGuardedBlock
253,712
LineIterator () { throw new UnsupportedOperationException(); }
createLineIterator
253,713
void (long modificationStamp) { myModStamp = modificationStamp; }
setModificationStamp
253,714
void (@NotNull CharSequence text) { throw new UnsupportedOperationException("Not implemented"); }
setText
253,715
void (@NotNull RangeMarkerEx rangeMarker, int start, int end, boolean greedyToLeft, boolean greedyToRight, int layer) { }
registerRangeMarker
253,716
boolean (@NotNull Processor<? super RangeMarker> processor) { return false; }
processRangeMarkers
253,717
boolean (int start, int end, @NotNull Processor<? super RangeMarker> processor) { return false; }
processRangeMarkersOverlappingWith
253,718
boolean (@NotNull RangeMarkerEx rangeMarker) { return false; }
removeRangeMarker
253,719
boolean (@NotNull VFileProperty property) { return property == VFileProperty.SYMLINK || super.is(property); }
is
253,720
VirtualFile () { return myTarget; }
getCanonicalFile
253,721
String () { return myTarget != null ? myTarget.getPath() : null; }
getCanonicalPath
253,722
VirtualFile[] () { // note: the behavior is not exact as in "real" VFS where symlinks have duplicate set of children return myTarget != null ? myTarget.getChildren() : EMPTY_ARRAY; }
getChildren
253,723
void (@NotNull MockVirtualFile child) { throw new UnsupportedOperationException(); }
addChild
253,724
JComponent () { throw new UnsupportedOperationException(); }
getComponent
253,725
JComponent () { return null; }
getPreferredFocusedComponent
253,726
String () { return ""; }
getName
253,727
void () { }
dispose
253,728
void (@NotNull FileEditorState state) { }
setState
253,729
boolean () { return false; }
isModified
253,730
boolean () { return true; }
isValid
253,731
void (@NotNull PropertyChangeListener listener) { }
addPropertyChangeListener
253,732
void (@NotNull PropertyChangeListener listener) { }
removePropertyChangeListener
253,733
JComponent () { return null; }
getComponent
253,734
void (@NotNull Runnable runnable) { runnable.run(); }
notifyPublisher
253,735
boolean () { return false; }
hasSplitOrUndockedWindows
253,736
EditorsSplitters (@NotNull Component component) { return null; }
getSplittersFor
253,737
EditorsSplitters () { throw new UnsupportedOperationException(); }
getSplitters
253,738
CompletableFuture<EditorWindow> () { throw new UnsupportedOperationException(); }
getActiveWindow
253,739
void (final @NotNull FileEditor editor, final @NotNull JComponent component) { }
addTopComponent
253,740
void (final @NotNull FileEditor editor, final @NotNull JComponent component) { }
removeTopComponent
253,741
void (final @NotNull FileEditor editor, final @NotNull JComponent component) { }
addBottomComponent
253,742
void (final @NotNull FileEditor editor, final @NotNull JComponent component) { }
removeBottomComponent
253,743
JComponent () { return null; }
getPreferredFocusedComponent
253,744
FileEditorProvider (FileEditor editor) { return null; }
getProvider
253,745
EditorWindow () { return null; }
getCurrentWindow
253,746
void (EditorWindow window) { }
setCurrentWindow
253,747
void () { }
unsplitWindow
253,748
void () { }
unsplitAllWindow
253,749
List<VirtualFile> (@NotNull VirtualFile file) { return Collections.emptyList(); }
getSiblings
253,750
void (int orientation, @Nullable EditorWindow window) { }
createSplitter
253,751
void () { }
changeSplitterOrientation
253,752
boolean () { return false; }
isInSplitter
253,753
boolean () { return false; }
hasOpenedFile
253,754
VirtualFile () { return null; }
getCurrentFile
253,755
FileEditorWithProvider (@NotNull VirtualFile file) { return null; }
getSelectedEditorWithProvider
253,756
boolean (@NotNull EditorComposite editor) { return false; }
isChanged
253,757
EditorWindow (@NotNull EditorWindow window) { return null; }
getNextWindow
253,758
EditorWindow (@NotNull EditorWindow window) { return null; }
getPrevWindow
253,759
void () { }
closeAllFiles
253,760
StateFlow<FileEditor> () { return StateFlowKt.MutableStateFlow(null); }
getCurrentFileEditorFlow
253,761
void (@NotNull VirtualFile file) { }
closeFile
253,762
void (@NotNull VirtualFile file, @NotNull EditorWindow window) { }
closeFile
253,763
boolean (@NotNull VirtualFile file, @NotNull EditorWindow window) { return true; }
closeFileWithChecks
253,764
Editor (@NotNull OpenFileDescriptor descriptor, boolean focusEditor) { return null; }
openTextEditor
253,765
Editor () { return null; }
getSelectedTextEditor
253,766
boolean (@NotNull VirtualFile file) { return false; }
isFileOpen
253,767
boolean (@NotNull VirtualFile file) { return false; }
canOpenFile
253,768
List<VirtualFile> () { return Collections.emptyList(); }
getOpenFilesWithRemotes
253,769
List<FileEditor> (@NotNull FileEditorNavigatable descriptor, boolean focusEditor) { return Collections.emptyList(); }
openFileEditor
253,770
Project () { throw new UnsupportedOperationException(); }
getProject
253,771
void (@NotNull EditorDataProvider provider, Disposable parentDisposable) { }
registerExtraEditorDataProvider
253,772
int () { return 0; }
getWindowSplitCount
253,773
void (@NotNull VirtualFile file, @NotNull String fileEditorProviderId) { }
setSelectedEditor
253,774
FileEditorComposite (@NotNull VirtualFile file, @Nullable EditorWindow window, @NotNull FileEditorOpenOptions options) { return FileEditorComposite.Companion.fromPair(new kotlin.Pair<>(FileEditor.EMPTY_ARRAY, FileEditorProvider.EMPTY_ARRAY)); }
openFile
253,775
VirtualFileSystem () { throw new UnsupportedOperationException(); }
getFileSystem
253,776
String () { throw new UnsupportedOperationException(); }
getPath
253,777
String () { throw new UnsupportedOperationException(); }
getName
253,778
void (Object requestor, @NotNull String newName) { }
rename
253,779
boolean () { return false; }
isWritable
253,780
boolean () { return false; }
isDirectory
253,781
boolean () { return myValid; }
isValid
253,782
VirtualFile () { return null; }
getParent
253,783
VirtualFile[] () { return VirtualFile.EMPTY_ARRAY; }
getChildren
253,784
void (Object requestor) { }
delete
253,785
void (Object requestor, @NotNull VirtualFile newParent) { }
move
253,786
InputStream () { throw new UnsupportedOperationException(); }
getInputStream
253,787
OutputStream (Object requestor, long newModificationStamp, long newTimeStamp) { throw new UnsupportedOperationException(); }
getOutputStream
253,788
long () { return 0; }
getModificationStamp
253,789
long () { return 0; }
getTimeStamp
253,790
long () { return 0; }
getLength
253,791
void (boolean asynchronous, boolean recursive, Runnable postRunnable) { }
refresh
253,792
boolean (@NotNull Project project, @NotNull VirtualFile file) { return false; }
accept
253,793
boolean () { return false; }
acceptRequiresReadAction
253,794
FileEditor (@NotNull Project project, @NotNull VirtualFile file) { throw new UnsupportedOperationException(); }
createEditor
253,795
void (@NotNull FileEditor editor) { }
disposeEditor
253,796
FileEditorState (@NotNull Element sourceElement, @NotNull Project project, @NotNull VirtualFile file) { throw new UnsupportedOperationException(); }
readState
253,797
String () { throw new UnsupportedOperationException(); }
getEditorTypeId
253,798
FileEditorPolicy () { throw new UnsupportedOperationException(); }
getPolicy
253,799
SmartPsiFileRange (@NotNull PsiFile file, @NotNull TextRange range) { throw new IncorrectOperationException(); }
createSmartPsiFileRangePointer