Unnamed: 0 int64 0 305k | body stringlengths 7 52.9k | name stringlengths 1 185 |
|---|---|---|
53,000 | String (String q, @Nonnull String x, @CheckForNull CharSequence y) { return ""; } | foo |
53,001 | String () { return ""; } | bar |
53,002 | String () { } | getSome |
53,003 | void (String someValue) { } | setSome |
53,004 | void () { } | foo |
53,005 | void () { } | foo |
53,006 | void () { } | testMethod |
53,007 | void () { } | foo |
53,008 | void () { } | foo |
53,009 | void () { } | test |
53,010 | String () { return null; } | getNull |
53,011 | My () { return null; } | getMy |
53,012 | String () { return null; } | foo |
53,013 | void () {} | foo |
53,014 | void () {} | bar |
53,015 | void (String z) { switch (z) { case KotlinPropertiesKt.constantString: // Safe break; case KotlinPropertiesKt.importantString: // Dangerous break; default: break; } } | baz |
53,016 | void () { byte b1 = KotlinPropertiesKt.importantNumber; // Dangerous byte b2 = KotlinPropertiesKt.constantNumber; // Safe (const) byte b3 = 0 + KotlinPropertiesKt.importantNumber; // Dangerous int b4 = 0 + KotlinPropertiesKt.importantNumber; // Safe (types are the same) b4 += KotlinPropertiesKt.importantNumber; // Safe... | fau |
53,017 | byte (int x) { return (byte) x; } | convert |
53,018 | void () { PlatformImplementations a; // Internal in stdlib, error Integer c; MapsKt.mapCapacity(3); // Internal in stdlib, error Consumer<Integer> fun = MapsKt::mapCapacity; // Internal in stdlib, error SomeInternalClass b = new SomeInternalClass(); // Internal in same module, OK SomeInternalClassInOtherModule b = new ... | doSomething |
53,019 | void (String[] args) { KotlinSealedInterface sealedInterface = new KotlinSealedInterface() {}; // anonymouns class implements interface KotlinSealedClass sealedClass = new KotlinSealedClass() {}; new KotlinInterface() {}; new KotlinClass() {}; } | main |
53,020 | void (String[] args) { Foo foo = new Foo(); foo.bar(); } | main |
53,021 | void (int i) {} | overloadedMethod |
53,022 | void (String i) {} | overloadedMethod |
53,023 | boolean (int x, int y) { return true; } | contains |
53,024 | boolean (int x) { return true; } | contains |
53,025 | void (@NotNull Function2<? super Integer, ? super Boolean, String> f) { super.foo(f); } | foo |
53,026 | void (@NotNull Function2<? super Integer, ? super Boolean, String> f) { super.foo(f); } | foo |
53,027 | List<String> () { return null; } | method |
53,028 | List<String> () { return null; } | method |
53,029 | void (int foo, int bar, long baz) {} | test |
53,030 | void (int foo, int bar, long baz) {} | test |
53,031 | Chain (String foo, int bar) { return new Chain() } | chained |
53,032 | void (T t) {} | foo |
53,033 | void (int foo, int bar, long baz) {} | test |
53,034 | void (String foo, int... bar) {} | test |
53,035 | void (int foo, int bar, long baz) {} | test |
53,036 | void (int foo, int bar, long baz) {} | test |
53,037 | void () {} | test |
53,038 | void (int foo, int bar, long baz, I i) {} | test |
53,039 | void (I i) {} | test |
53,040 | void (int foo, int bar, long baz) {} | test |
53,041 | Chain (String foo, int bar) { return new Chain() } | chained |
53,042 | void (int foo, int bar, long baz) {} | test |
53,043 | void (A a, B b) {} | foo |
53,044 | void (T t) {} | foo |
53,045 | String () { return foo; } | getFoo |
53,046 | void (String newFoo) { // complex business logic foo = newFoo; } | setFoo |
53,047 | boolean () {return true;} | isFoo |
53,048 | Foo () { return new Foo(); } | getIffy |
53,049 | int () { return first; } | getFirst |
53,050 | String () { return second; } | getSecond |
53,051 | Foo (int first) { this.first = first; return this; } | setFirst |
53,052 | Foo (String second) { this.second = second; return this; } | setSecond |
53,053 | int () {return 1;} | getFoo |
53,054 | Foo () { return new Foo(); } | getOrCreate |
53,055 | int () {return 1;} | getFoo |
53,056 | Runnable () { return null; } | getR |
53,057 | void (Runnable r) {} | setR |
53,058 | String () { return object; } | getObject |
53,059 | void (String object) { this.object = object; } | setObject |
53,060 | Foo () { return new Foo(); } | getAndSet |
53,061 | String () { return typeof; } | getTypeof |
53,062 | void (String typeof) { this.typeof = typeof; } | setTypeof |
53,063 | Foo () { return new Foo(); } | getOrangeJuice |
53,064 | int () { return first; } | getFirst |
53,065 | String () { return second; } | getSecond |
53,066 | Foo (int first) { this.first = first; return this; } | setFirst |
53,067 | Foo (String second) { this.second = second; return this; } | setSecond |
53,068 | Foo () { return new Foo(); } | getAndy |
53,069 | Foo () { return this; } | isTrue |
53,070 | int () {return 1;} | getFoo |
53,071 | int () {return 1;} | getFoo |
53,072 | void (int foo) {} | setFoo |
53,073 | int () { return first; } | getFirst |
53,074 | String () { return second; } | getSecond |
53,075 | Foo (int first) { this.first = first; return this; } | setFirst |
53,076 | Foo (String second) { this.second = second; return this; } | setSecond |
53,077 | String () { return typeof; } | getTypeof |
53,078 | void (String typeof) { this.typeof = typeof; } | setTypeof |
53,079 | Foo () { return new Foo(); } | getIfReady |
53,080 | String () { return object; } | getObject |
53,081 | void (String object) { this.object = object; } | setObject |
53,082 | int () {return 1;} | getFoo |
53,083 | Runnable () { return null; } | getR |
53,084 | void (Runnable r) {} | setR |
53,085 | Runnable () { return null; } | getR |
53,086 | void (Runnable r) {} | setR |
53,087 | Runnable () { return null; } | getR |
53,088 | void (Runnable r) {} | setR |
53,089 | int () { return field2; } | getField |
53,090 | int () {return 1;} | getFoo |
53,091 | int (int x, int y) { return x + y; } | foo |
53,092 | int (int arg) { return arg; } | foo |
53,093 | void (Sam sam) { } | foo |
53,094 | Boolean () { return Boolean.TRUE; } | foo |
53,095 | void () {} | foo1 |
53,096 | void () {} | foo2 |
53,097 | void () {} | foo1 |
53,098 | void () {} | foo2 |
53,099 | int () { return 1; } | getSomething |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.