Unnamed: 0
int64
0
305k
body
stringlengths
7
52.9k
name
stringlengths
1
185
253,500
PsiElement () { return null; }
getNextSibling
253,501
PsiElement () { return null; }
getPrevSibling
253,502
PsiFile () { return null; }
getContainingFile
253,503
TextRange () { return null; }
getTextRange
253,504
int () { return 0; }
getStartOffsetInParent
253,505
int () { return 0; }
getTextLength
253,506
PsiElement (int offset) { return null; }
findElementAt
253,507
PsiReference (int offset) { return null; }
findReferenceAt
253,508
int () { return 0; }
getTextOffset
253,509
String () { return text; }
getText
253,510
boolean (@NotNull CharSequence text) { return false; }
textMatches
253,511
boolean (@NotNull PsiElement element) { return false; }
textMatches
253,512
boolean (char c) { return false; }
textContains
253,513
void (@NotNull PsiElementVisitor visitor) { }
accept
253,514
PsiElement () { return null; }
copy
253,515
boolean () { return valid; }
isValid
253,516
boolean () { return false; }
isWritable
253,517
PsiReference () { return null; }
getReference
253,518
Project () { final PsiManager manager = getManager(); if (manager == null) throw new PsiInvalidElementAccessException(this); return manager.getProject(); }
getProject
253,519
boolean () { return true; }
isPhysical
253,520
PsiElement () { return this; }
getNavigationElement
253,521
PsiElement () { return this; }
getOriginalElement
253,522
GlobalSearchScope () { return GlobalSearchScope.EMPTY_SCOPE; }
getResolveScope
253,523
SearchScope () { return LocalSearchScope.EMPTY; }
getUseScope
253,524
FileASTNode () { return null; }
getNode
253,525
void () { }
subtreeChanged
253,526
void (boolean requestFocus) { }
navigate
253,527
boolean () { return false; }
canNavigate
253,528
boolean () { return false; }
canNavigateToSource
253,529
PsiElement () { return FileContextUtil.getFileContext(this); }
getContext
253,530
MockVirtualFile (@NotNull String name, MockVirtualFile... children) { MockVirtualFile dir = new MockVirtualFile(true, name); for (MockVirtualFile child : children) dir.addChild(child); return dir; }
dir
253,531
MockVirtualFile (@NotNull String name) { return new MockVirtualFile(name); }
file
253,532
void (String text) { myText = text; }
setText
253,533
String () { return myName; }
getName
253,534
void (VirtualFile parent) { myParent = parent; }
setParent
253,535
VirtualFile (Object requestor, @NotNull String name) { MockVirtualFile file = new MockVirtualFile(name); addChild(file); return file; }
createChildData
253,536
void (@NotNull MockVirtualFile child) { child.setParent(this); myChildren.add(child); }
addChild
253,537
VirtualFileSystem () { return ourFileSystem; }
getFileSystem
253,538
String () { String prefix = myParent == null ? "MOCK_ROOT:" : myParent.getPath(); return prefix + "/" + myName; }
getPath
253,539
boolean () { return myIsWritable; }
isWritable
253,540
void (boolean writable) { myIsWritable = writable; }
setWritable
253,541
boolean () { return myDirectory; }
isDirectory
253,542
boolean () { return true; }
isValid
253,543
VirtualFile () { return myParent; }
getParent
253,544
VirtualFile[] () { return VfsUtilCore.toVirtualFileArray(myChildren); }
getChildren
253,545
boolean (Object o) { return super.equals(o); }
equals
253,546
int () { return super.hashCode(); }
hashCode
253,547
void () { myModStamp = newModificationStamp; myText = toString(); }
close
253,548
long () { return myModStamp; }
getModificationStamp
253,549
void (long modStamp) { myModStamp = modStamp; }
setModificationStamp
253,550
long () { return myTimeStamp; }
getTimeStamp
253,551
long () { return myText == null ? 0 : myText.length(); }
getLength
253,552
void (boolean asynchronous, boolean recursive, Runnable postRunnable) { }
refresh
253,553
InputStream () { throw new UnsupportedOperationException("Method getInputStream is not yet implemented in " + getClass().getName()); }
getInputStream
253,554
void (VirtualFileListener listener) { myListener = listener; }
setListener
253,555
void (@Nullable Object requestor, String content, boolean fireEvent) { long oldStamp = myModStamp; myText = content; if (fireEvent) { myModStamp = LocalTimeCounter.currentTime(); myListener.contentsChanged(new VirtualFileEvent(requestor, this, null, oldStamp, myModStamp)); } }
setContent
253,556
void (@NotNull DocumentListener listener) { }
addDocumentListener
253,557
void (@NotNull DocumentListener listener, @NotNull Disposable parentDisposable) { }
addDocumentListener
253,558
void (@NotNull DocumentListener listener) { }
removeDocumentListener
253,559
void (@NotNull EditorMouseListener listener) { }
addEditorMouseListener
253,560
void (@NotNull final EditorMouseListener listener, @NotNull final Disposable parentDisposable) { }
addEditorMouseListener
253,561
void (@NotNull EditorMouseListener listener) { }
removeEditorMouseListener
253,562
void (@NotNull EditorMouseMotionListener listener) { }
addEditorMouseMotionListener
253,563
void (@NotNull EditorMouseMotionListener listener, @NotNull Disposable parentDisposable) { }
addEditorMouseMotionListener
253,564
void (@NotNull EditorMouseMotionListener listener) { }
removeEditorMouseMotionListener
253,565
void (@NotNull CaretListener listener) { }
addCaretListener
253,566
void (@NotNull CaretListener listener, @NotNull Disposable parentDisposable) { }
addCaretListener
253,567
void (@NotNull CaretListener listener) { }
removeCaretListener
253,568
void (@NotNull SelectionListener listener) { }
addSelectionListener
253,569
void (@NotNull SelectionListener listener, @NotNull Disposable parentDisposable) { }
addSelectionListener
253,570
void (@NotNull SelectionListener listener) { }
removeSelectionListener
253,571
void (@NotNull VisibleAreaListener listener) { }
addVisibleAreaListener
253,572
void (@NotNull VisibleAreaListener listener, @NotNull Disposable parent) { }
addVisibleAreaListener
253,573
void (@NotNull VisibleAreaListener listener) { }
removeVisibleAreaListener
253,574
String () { return getLanguage().getID(); }
getName
253,575
String () { return ""; }
getDescription
253,576
String () { return myExtension; }
getDefaultExtension
253,577
Icon () { return null; }
getIcon
253,578
boolean (Object obj) { if (!(obj instanceof LanguageFileType)) return false; return getLanguage().equals(((LanguageFileType)obj).getLanguage()); }
equals
253,579
void (@NotNull String name) { }
setProjectName
253,580
Disposable () { return this; }
getEarlyDisposable
253,581
void (@NotNull Iterable<? extends File> files, boolean async, boolean recursive, @Nullable Runnable onFinish) { }
refreshIoFiles
253,582
void (@NotNull Iterable<? extends Path> files, boolean async, boolean recursive, @Nullable Runnable onFinish) { }
refreshNioFiles
253,583
void (@NotNull Iterable<? extends VirtualFile> files, boolean async, boolean recursive, @Nullable Runnable onFinish) { }
refreshFiles
253,584
Set<WatchRequest> (@NotNull Collection<WatchRequest> watchRequests, @Nullable Collection<String> recursiveRoots, @Nullable Collection<String> flatRoots) { throw new UnsupportedOperationException("Not implemented in " + getClass().getName()); }
replaceWatchedRoots
253,585
void (@NotNull LocalFileOperationsHandler handler) { }
registerAuxiliaryFileOperationsHandler
253,586
void (@NotNull LocalFileOperationsHandler handler) { }
unregisterAuxiliaryFileOperationsHandler
253,587
String () { return LocalFileSystem.PROTOCOL; }
getProtocol
253,588
VirtualFile (@NotNull String path) { return myDelegate.findFileByPath(path); }
findFileByPath
253,589
void (boolean asynchronous) { }
refresh
253,590
VirtualFile (@NotNull String path) { return findFileByPath(path); }
refreshAndFindFileByPath
253,591
void (Object requestor, @NotNull VirtualFile vFile) { }
deleteFile
253,592
void (Object requestor, @NotNull VirtualFile vFile, @NotNull VirtualFile newParent) { }
moveFile
253,593
void (Object requestor, @NotNull VirtualFile vFile, @NotNull String newName) { }
renameFile
253,594
String (@NotNull String normalizedPath) { return normalizedPath; }
extractRootPath
253,595
boolean () { return false; }
isCaseSensitive
253,596
VirtualFile (@NotNull String path) { return findFileByPath(path); }
findFileByPathIfCached
253,597
boolean (@NotNull VirtualFile fileOrDirectory) { return false; }
exists
253,598
InputStream (@NotNull VirtualFile file) { throw new UnsupportedOperationException(); }
getInputStream
253,599
long (@NotNull VirtualFile file) { return 0; }
getLength