Unnamed: 0 int64 0 305k | body stringlengths 7 52.9k | name stringlengths 1 185 |
|---|---|---|
253,600 | OutputStream (@NotNull VirtualFile file, Object requestor, long modStamp, long timeStamp) { throw new UnsupportedOperationException(); } | getOutputStream |
253,601 | long (@NotNull VirtualFile file) { return 0; } | getTimeStamp |
253,602 | boolean (@NotNull VirtualFile file) { return false; } | isDirectory |
253,603 | boolean (@NotNull VirtualFile file) { return false; } | isWritable |
253,604 | void (@NotNull VirtualFile file, long timeStamp) { } | setTimeStamp |
253,605 | void (@NotNull VirtualFile file, boolean writableFlag) { } | setWritable |
253,606 | int () { return 1; } | getRank |
253,607 | FileAttributes (@NotNull VirtualFile file) { return null; } | getAttributes |
253,608 | Document (String text) { return new DocumentImpl(text); } | createDocument |
253,609 | Editor (@NotNull Document document) { return null; } | createEditor |
253,610 | Editor (@NotNull Document document) { return null; } | createViewer |
253,611 | Editor (@NotNull Document document, Project project) { return null; } | createEditor |
253,612 | Editor (@NotNull Document document, @Nullable Project project, @Nullable EditorKind kind) { return null; } | createEditor |
253,613 | Editor (@NotNull Document document, Project project, @NotNull VirtualFile file, boolean isViewer) { return null; } | createEditor |
253,614 | Editor (@NotNull Document document, Project project, @NotNull VirtualFile file, boolean isViewer, @NotNull EditorKind kind) { return null; } | createEditor |
253,615 | Editor (@NotNull final Document document, final Project project, @NotNull final FileType fileType, final boolean isViewer) { return null; } | createEditor |
253,616 | Editor (@NotNull Document document, Project project) { return null; } | createViewer |
253,617 | Editor (@NotNull Document document, @Nullable Project project, @Nullable EditorKind kind) { return null; } | createViewer |
253,618 | void (@NotNull Editor editor) { } | releaseEditor |
253,619 | Stream<Editor> (@NotNull Document document, @Nullable Project project) { return Stream.empty(); } | editors |
253,620 | void (@NotNull EditorFactoryListener listener) { } | addEditorFactoryListener |
253,621 | void (@NotNull EditorFactoryListener listener, @NotNull Disposable parentDisposable) { } | addEditorFactoryListener |
253,622 | void (@NotNull EditorFactoryListener listener) { } | removeEditorFactoryListener |
253,623 | EditorEventMulticaster () { return new MockEditorEventMulticaster(); } | getEventMulticaster |
253,624 | Document (@NotNull CharSequence text) { return new DocumentImpl(text); } | createDocument |
253,625 | Document (char @NotNull [] text) { return createDocument(new CharArrayCharSequence(text)); } | createDocument |
253,626 | void () { } | refreshAllEditors |
253,627 | PsiFile (@NotNull Document document) { throw new UnsupportedOperationException("Method getPsiFile is not yet implemented in " + getClass().getName()); } | getPsiFile |
253,628 | PsiFile (@NotNull Document document) { throw new UnsupportedOperationException("Method getCachedPsiFile is not yet implemented in " + getClass().getName()); } | getCachedPsiFile |
253,629 | Document (@NotNull PsiFile file) { return null; } | getDocument |
253,630 | Document (@NotNull PsiFile file) { VirtualFile vFile = file.getViewProvider().getVirtualFile(); return FileDocumentManager.getInstance().getCachedDocument(vFile); } | getCachedDocument |
253,631 | void () { } | commitAllDocuments |
253,632 | boolean () { return true; } | commitAllDocumentsUnderProgress |
253,633 | void (@NotNull final Document document, @NotNull final Runnable action) { action.run(); } | performForCommittedDocument |
253,634 | void (@NotNull Document document) { } | commitDocument |
253,635 | CharSequence (@NotNull Document document) { return document.getImmutableCharSequence(); } | getLastCommittedText |
253,636 | long (@NotNull Document document) { return document.getModificationStamp(); } | getLastCommittedStamp |
253,637 | Document (@NotNull PsiFile file) { return null; } | getLastCommittedDocument |
253,638 | boolean (@NotNull Document document) { throw new UnsupportedOperationException("Method isUncommited is not yet implemented in " + getClass().getName()); } | isUncommited |
253,639 | boolean (@NotNull Document document) { throw new UnsupportedOperationException(); } | isCommitted |
253,640 | boolean () { throw new UnsupportedOperationException("Method hasUncommitedDocuments is not yet implemented in " + getClass().getName()); } | hasUncommitedDocuments |
253,641 | void (@NotNull Runnable runnable) { throw new UnsupportedOperationException("Method commitAndRunReadAction is not yet implemented in " + getClass().getName()); } | commitAndRunReadAction |
253,642 | void (@NotNull Listener listener) { throw new UnsupportedOperationException("Method addListener is not yet implemented in " + getClass().getName()); } | addListener |
253,643 | boolean (@NotNull Document doc) { throw new UnsupportedOperationException("Method isDocumentBlockedByPsi is not yet implemented in " + getClass().getName()); } | isDocumentBlockedByPsi |
253,644 | void (@NotNull Document doc) { throw new UnsupportedOperationException( "Method doPostponedOperationsAndUnblockDocument is not yet implemented in " + getClass().getName()); } | doPostponedOperationsAndUnblockDocument |
253,645 | boolean (@NotNull Runnable action) { throw new UnsupportedOperationException(); } | performWhenAllCommitted |
253,646 | void (@NotNull Collection<? extends VirtualFile> files, boolean includeOpenFiles) { throw new UnsupportedOperationException(); } | reparseFiles |
253,647 | void (@NotNull final Runnable runnable) { throw new UnsupportedOperationException(); } | performLaterWhenAllCommitted |
253,648 | void (@NotNull ModalityState modalityState, @NotNull Runnable runnable) { throw new UnsupportedOperationException(); } | performLaterWhenAllCommitted |
253,649 | void (@NotNull VirtualFile file, @NotNull Runnable runnable) { } | freezeFileTypeTemporarilyIn |
253,650 | String () { throw new IncorrectOperationException(); } | getIgnoredFilesList |
253,651 | void (@NotNull String list) { } | setIgnoredFilesList |
253,652 | boolean (@NotNull String list) { return false; } | isIgnoredFilesListEqualToCurrent |
253,653 | void () { } | save |
253,654 | String (@NotNull String fileName) { return ""; } | getExtension |
253,655 | void (@NotNull FileType type, String @Nullable ... defaultAssociatedExtensions) { } | registerFileType |
253,656 | void () { } | fireFileTypesChanged |
253,657 | FileType (@NotNull String fileName) { return fileType; } | getFileTypeByFileName |
253,658 | FileType (@NotNull VirtualFile file) { return fileType; } | getFileTypeByFile |
253,659 | FileType (@NotNull String extension) { return fileType; } | getFileTypeByExtension |
253,660 | boolean (@NotNull String name) { return false; } | isFileIgnored |
253,661 | boolean (@NotNull VirtualFile file) { return false; } | isFileIgnored |
253,662 | void () { } | fireBeforeFileTypesChanged |
253,663 | void (@NotNull String message, @NotNull Runnable command) { command.run(); } | makeFileTypesChange |
253,664 | FileType (@NotNull VirtualFile file, @NotNull Project project) { return file.getFileType(); } | getKnownFileTypeOrAssociate |
253,665 | List<FileNameMatcher> (@NotNull FileType type) { return Collections.emptyList(); } | getAssociations |
253,666 | void (@NotNull FileType type, @NotNull FileNameMatcher matcher) { } | associate |
253,667 | void (@NotNull FileType type, @NotNull FileNameMatcher matcher) { } | removeAssociation |
253,668 | FileType (@NotNull String fileTypeName) { if ("ARCHIVE".equals(fileTypeName)) return UnknownFileType.INSTANCE; if ("PLAIN_TEXT".equals(fileTypeName)) return PlainTextFileType.INSTANCE; if ("CLASS".equals(fileTypeName)) return loadFileTypeSafe("com.intellij.ide.highlighter.JavaClassFileType", fileTypeName); if ("JAVA".e... | getStdFileType |
253,669 | FileType (String className, String fileTypeName) { try { return (FileType)Class.forName(className).getField("INSTANCE").get(null); } catch (Exception ignored) { return new MockLanguageFileType(PlainTextLanguage.INSTANCE, fileTypeName.toLowerCase(Locale.ENGLISH)); } } | loadFileTypeSafe |
253,670 | VirtualFile () { throw new UnsupportedOperationException("Method getModuleFile is not yet implemented in " + getClass().getName()); } | getModuleFile |
253,671 | Path () { return Paths.get(""); } | getModuleNioFile |
253,672 | GlobalSearchScope (final boolean includeTests) { return new MockGlobalSearchScope(); } | getModuleRuntimeScope |
253,673 | GlobalSearchScope () { throw new UnsupportedOperationException("Method getModuleProductionSourceScope is not yet implemented in " + getClass().getName()); } | getModuleProductionSourceScope |
253,674 | GlobalSearchScope () { throw new UnsupportedOperationException("Method getModuleTestSourceScope is not yet implemented in " + getClass().getName()); } | getModuleTestSourceScope |
253,675 | GlobalSearchScope () { return new MockGlobalSearchScope(); } | getModuleScope |
253,676 | GlobalSearchScope (boolean includeTests) { return new MockGlobalSearchScope(); } | getModuleScope |
253,677 | GlobalSearchScope () { return new MockGlobalSearchScope(); } | getModuleTestsWithDependentsScope |
253,678 | GlobalSearchScope (final boolean includeTests) { return new MockGlobalSearchScope(); //throw new UnsupportedOperationException( "Method getModuleWithDependenciesAndLibrariesScope is not yet implemented in " + getClass().getName()); } | getModuleWithDependenciesAndLibrariesScope |
253,679 | GlobalSearchScope () { return new MockGlobalSearchScope(); } | getModuleWithDependenciesScope |
253,680 | GlobalSearchScope () { throw new UnsupportedOperationException("Method getModuleContentWithDependenciesScope is not yet implemented in " + getClass().getName()); } | getModuleContentWithDependenciesScope |
253,681 | GlobalSearchScope () { throw new UnsupportedOperationException("Method getModuleContentScope is not yet implemented in " + getClass().getName()); } | getModuleContentScope |
253,682 | GlobalSearchScope () { throw new UnsupportedOperationException("Method getModuleWithDependentsScope is not yet implemented in " + getClass().getName()); } | getModuleWithDependentsScope |
253,683 | GlobalSearchScope () { throw new UnsupportedOperationException("Method getModuleWithLibrariesScope is not yet implemented in " + getClass().getName()); } | getModuleWithLibrariesScope |
253,684 | String () { return myName; } | getName |
253,685 | MockModule (String name) { myName = name; return this; } | setName |
253,686 | boolean () { return !isDisposed(); } | isLoaded |
253,687 | Project () { return myProject; } | getProject |
253,688 | void (@NotNull String optionName, @Nullable String optionValue) { throw new UnsupportedOperationException("Method setOption is not yet implemented in " + getClass().getName()); } | setOption |
253,689 | ExecutionTarget () { return myTarget; } | getActiveTarget |
253,690 | void (@NotNull ExecutionTarget target) { myTarget = target; } | setActiveTarget |
253,691 | List<ExecutionTarget> (@Nullable RunConfiguration settings) { return Collections.singletonList(DefaultExecutionTarget.INSTANCE); } | getTargetsFor |
253,692 | boolean (@Nullable RunConfiguration settings, @NotNull ExecutionTarget target) { return true; } | doCanRun |
253,693 | void () { } | update |
253,694 | void (@NotNull InspectionToolWrapper<?, ?> tool, boolean enabled) { if (enabled) { myDisabledTools.remove(tool); } else { myDisabledTools.add(tool); } } | setEnabled |
253,695 | boolean (final HighlightDisplayKey key, PsiElement element) { InspectionToolWrapper<?, ?> entry = ContainerUtil.find(myInspectionTools, inspectionProfileEntry -> { return key.equals(HighlightDisplayKey.find(inspectionProfileEntry.getShortName())); }); assert entry != null; return !myDisabledTools.contains(entry); } | isToolEnabled |
253,696 | void (@NotNull List<InspectionToolWrapper<?, ?>> entries) { myInspectionTools = entries; } | setInspectionTools |
253,697 | CharSequence () { return myText.toString(); } | getImmutableCharSequence |
253,698 | void (@NotNull CharSequence chars, long newModificationStamp) { myText = new StringBuffer(); myText.append(chars); myModStamp = newModificationStamp; } | replaceText |
253,699 | CharSequence () { return getText(); } | textToCharArray |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.