Unnamed: 0 int64 0 305k | body stringlengths 7 52.9k | name stringlengths 1 185 |
|---|---|---|
51,500 | void (Object[] o) { } | invokeStaticFun |
51,501 | void (Object[] o) { } | invokeStaticPrivateFun |
51,502 | void (Object[] o) { } | invokeMemberFun |
51,503 | void (Object[] o) { } | invokeMemberPrivateFun |
51,504 | int (Object[] o) { return 1; } | primitiveReturnValue |
51,505 | void (String[] args) { // BREAKPOINT Runtime.getRuntime(); System.out.println("hi"); } | main |
51,506 | void ( @NotNull Project project, @NotNull Editor editor, @NlsContexts.DialogMessage @NotNull String message, @NlsContexts.DialogTitle @NotNull String title, @Nullable String helpId ) { if (ApplicationManager.getApplication().isUnitTestMode()) throw new CommonRefactoringUtil.RefactoringErrorHintException(message); Commo... | showErrorHint |
51,507 | void () { mockLib.foo.MyInterface.DefaultImpls.<caret> } | test |
51,508 | void () { mockLib.foo.MainKt.<caret> } | test |
51,509 | void () { DefaultImpls.<caret> } | test |
51,510 | void () { mockLib.foo.LibClass.Companion.NestedObject.<caret> } | test |
51,511 | void () { DefaultImpl<caret> } | test |
51,512 | void (mockLib.foo.F.Companion.F.Companion.<caret>) { } | test |
51,513 | void () { mockLib.foo.LibEnum.<caret> } | test |
51,514 | void () { f<caret> } | test |
51,515 | void () { Li<caret> } | test |
51,516 | void () { mockLib.<caret> } | test |
51,517 | void () { mockLib.foo.MyInterface.<caret> } | test |
51,518 | void (mockLib.foo.LibClass p) { p.<caret> } | test |
51,519 | void () { mockLib.foo.LibClass.Companion.<caret> } | test |
51,520 | void () { Nest<caret> } | test |
51,521 | void () { mockLib.foo.LibClass.<caret> } | test |
51,522 | void (mockLib.foo.LibClass.Nested p) { p.<caret> } | test |
51,523 | void (mockLib.foo.LibClass p) { p.getNested().<caret> } | test |
51,524 | void () { mockLib.foo.<caret> } | test |
51,525 | void () { new LibClass.<caret> } | test |
51,526 | void () { mockLib.foo.LibObject.<caret> } | test |
51,527 | void () { List<caret> } | test |
51,528 | void () {} | fooBar |
51,529 | void () { ClassFr<caret> } | test |
51,530 | C () { return new C(); } | f |
51,531 | C () { return new C(); } | g |
51,532 | int () { return 0; } | h |
51,533 | C () { return new C(); } | f |
51,534 | C () { return new C(); } | g |
51,535 | void (X x) { } | search |
51,536 | void (X x) { } | search |
51,537 | C () { return new C(); } | f |
51,538 | C () { return new C(); } | g |
51,539 | int () { return 0; } | h |
51,540 | C () { return new C(); } | f |
51,541 | int () { return 0; } | g |
51,542 | void () { } | inJavapackage |
51,543 | void () { } | aProc |
51,544 | String () { return CONST_A; } | getA |
51,545 | void (boolean arg) {} | values |
51,546 | void () {} | valuezzz |
51,547 | void () {} | foo |
51,548 | int () { return 1; } | get |
51,549 | int () { return 1; } | get1 |
51,550 | void (boolean arg) {} | values |
51,551 | void () {} | valuezzz |
51,552 | void (X value) { } | setFoo |
51,553 | X () { return new X(); } | getFoo |
51,554 | T2 () { return null; } | getSomething |
51,555 | void (T2 t) { } | setSomething |
51,556 | void (@RecentlyNullable String string) { } | testNullable |
51,557 | void (@RecentlyNonNull String string) { } | testNotNull |
51,558 | void () {} | statMeth |
51,559 | void () {} | privateStatMeth |
51,560 | void () {} | memberMeth |
51,561 | void () {} | aProc |
51,562 | void () {} | aStaticProc |
51,563 | String () { return CONST_A; } | getA |
51,564 | void () {} | aProc |
51,565 | void () {} | aStaticProc |
51,566 | String () { return CONST_A; } | getA |
51,567 | void (int paramName) {} | foo |
51,568 | void (Runnable runnable, int x) {} | execute |
51,569 | void () { runAll( () -> CodeInsightSettings.getInstance().EXCLUDED_PACKAGES = ArrayUtil.EMPTY_STRING_ARRAY, () -> KotlinTestUtils.disposeVfsRootAccess(vfsDisposable), () -> super.tearDown() ); } | tearDown |
51,570 | File (String fileName) { return new File(getTestDataPath(), fileName); } | testDataFile |
51,571 | File () { return testDataFile(fileName()); } | testDataFile |
51,572 | String () { String name = getTestDataFileName(getClass(), this.getName()); return name != null ? name : (getTestName(false) + ".kt"); } | fileName |
51,573 | Sdk () { return null; } | getTestProjectJdk |
51,574 | void () { doTest(); } | testCompleteOnDotOutOfRanges |
51,575 | void () { doTest(); } | testImportAsConfidence |
51,576 | void () { doTest(); } | testInBlockOfFunctionLiteral |
51,577 | void () { doTest(); } | testInModifierList |
51,578 | void () { doTest(); } | testNoAutoCompletionForRangeOperator |
51,579 | void () { doTest(); } | testNoAutoPopupInString |
51,580 | void () { doTest(); } | testAutoPopupInStringTemplate |
51,581 | void () { doTest(); } | testAutoPopupInStringTemplateAfterDollar |
51,582 | void () { doTest(); } | testNoAutoPopupInStringTemplateAfterSpace |
51,583 | void () { doTest(); } | testNoAutoPopupInRawStringTemplateAfterNewLine |
51,584 | void () { boolean completeByChars = CodeInsightSettings.getInstance().SELECT_AUTOPOPUP_SUGGESTIONS_BY_CHARS; CodeInsightSettings.getInstance().SELECT_AUTOPOPUP_SUGGESTIONS_BY_CHARS = true; try { skipComplete.set(true); try { configureByFile(getBeforeFileName()); } finally { skipComplete.set(false); } String text = getE... | doTest |
51,585 | String (String text) { String[] directives = InTextDirectivesUtils.findArrayWithPrefixes(text, TYPE_DIRECTIVE_PREFIX); if (directives.length == 0) return null; assertEquals("One directive with \"" + TYPE_DIRECTIVE_PREFIX +"\" expected", 1, directives.length); return StringUtil.unquoteString(directives[0]); } | getTypeText |
51,586 | String () { return getTestName(false) + ".kt"; } | getBeforeFileName |
51,587 | String () { return getTestName(false) + ".kt.after"; } | getAfterFileName |
51,588 | String () { return new File(CompletionTestUtilKt.COMPLETION_TEST_DATA_BASE, "/confidence/").getPath() + File.separator; } | getTestDataPath |
51,589 | Sdk () { return JavaSdk.getInstance().createJdk("JDK", new File(SystemProperties.getJavaHome()).getAbsolutePath()); } | getProjectJDK |
51,590 | void () { if (skipComplete.get()) return; new CodeCompletionHandlerBase(CompletionType.BASIC, false, true, true).invokeCompletion( getProject(), getEditor(), 0, false); LookupImpl lookup = (LookupImpl) LookupManager.getActiveLookup(getEditor()); myItems = lookup == null ? null : lookup.getItems().toArray(LookupElement.... | complete |
51,591 | boolean (Editor editor, PsiFile psiFile) { int offset = editor.getCaretModel().getOffset(); int psiOffset = Math.max(0, offset - 1); PsiElement elementAt = InjectedLanguageManager.getInstance(psiFile.getProject()).findInjectedElementAt(psiFile, psiOffset); if (elementAt == null) { elementAt = psiFile.findElementAt(psiO... | shouldSkipAutoPopup |
51,592 | LightProjectDescriptor () { return KotlinWithJdkAndRuntimeLightProjectDescriptor.getInstance(); } | getProjectDescriptor |
51,593 | TargetPlatform () { return JvmPlatforms.INSTANCE.getUnspecifiedJvmPlatform(); } | getPlatform |
51,594 | CompletionType () { return CompletionType.SMART; } | defaultCompletionType |
51,595 | LightProjectDescriptor () { return KotlinStdJSProjectDescriptor.INSTANCE; } | getProjectDescriptor |
51,596 | TargetPlatform () { return JsPlatforms.INSTANCE.getDefaultJsPlatform(); } | getPlatform |
51,597 | CompletionType () { return CompletionType.BASIC; } | defaultCompletionType |
51,598 | boolean (@NotNull PsiFile file, int offset) { if (!PsiUtilCore.getLanguageAtOffset(file, offset).isKindOf(KotlinLanguage.INSTANCE)) { return false; } PsiElement element = file.findElementAt(offset); if (element == null) { element = file.findElementAt(offset - 1); } if (element instanceof PsiWhiteSpace) { return false; ... | isInContext |
51,599 | SyntaxHighlighter () { return new KotlinHighlighter(); } | createHighlighter |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.