Unnamed: 0 int64 0 305k | body stringlengths 7 52.9k | name stringlengths 1 185 |
|---|---|---|
10,300 | void () { log.atInfo().log("Hello!"); } | logHallo |
10,301 | void (String[] args) { Test test = new Test(); test.logHallo(); } | main |
10,302 | void () { log.atInfo().log("Hello!"); } | logHallo |
10,303 | void (String[] args) { Test test = new Test(); test.logHallo(); } | main |
10,304 | void () { log.info("Hello!"); } | logHallo |
10,305 | void (String[] args) { Test test = new Test(); test.logHallo(); } | main |
10,306 | void () { log.info("Hello!"); } | logHallo |
10,307 | void (String[] args) { Test test = new Test(); test.logHallo(); } | main |
10,308 | void () { log.info("Hello!"); } | logHallo |
10,309 | void (String[] args) { Test test = new Test(); test.logHallo(); } | main |
10,310 | boolean (final Object o) { if (o == this) return true; if (!(o instanceof EqualsAndHashCodeNoGetters)) return false; final EqualsAndHashCodeNoGetters other = (EqualsAndHashCodeNoGetters) o; if (!other.canEqual((Object) this)) return false; if (this.x != other.x) return false; if (Float.compare(this.f, other.f) != 0) return false; if (Double.compare(this.d, other.d) != 0) return false; if (this.bool != other.bool) return false; if (!java.util.Arrays.equals(this.y, other.y)) return false; if (!java.util.Arrays.deepEquals(this.z, other.z)) return false; final Object this$a = this.a; final Object other$a = other.a; if (this$a == null ? other$a != null : !this$a.equals(other$a)) return false; return true; } | equals |
10,311 | boolean (final Object other) { return other instanceof EqualsAndHashCodeNoGetters; } | canEqual |
10,312 | int () { final int PRIME = 59; int result = 1; result = result * PRIME + this.x; result = result * PRIME + Float.floatToIntBits(this.f); final long $d = Double.doubleToLongBits(this.d); result = result * PRIME + (int) ($d >>> 32 ^ $d); result = result * PRIME + (this.bool ? 79 : 97); result = result * PRIME + java.util.Arrays.hashCode(this.y); result = result * PRIME + java.util.Arrays.deepHashCode(this.z); final Object $a = this.a; result = result * PRIME + ($a == null ? 43 : $a.hashCode()); return result; } | hashCode |
10,313 | boolean (final Object o) { if (o == this) return true; if (!(o instanceof EqualsAndHashCodeSimple)) return false; final EqualsAndHashCodeSimple other = (EqualsAndHashCodeSimple) o; if (!other.canEqual((Object) this)) return false; if (this.getX() != other.getX()) return false; if (Float.compare(this.getF(), other.getF()) != 0) return false; if (Double.compare(this.getD(), other.getD()) != 0) return false; if (this.isBool() != other.isBool()) return false; if (!java.util.Arrays.equals(this.getY(), other.getY())) return false; if (!java.util.Arrays.deepEquals(this.getZ(), other.getZ())) return false; final Object this$a = this.getA(); final Object other$a = other.getA(); if (this$a == null ? other$a != null : !this$a.equals(other$a)) return false; return true; } | equals |
10,314 | boolean (final Object other) { return other instanceof EqualsAndHashCodeSimple; } | canEqual |
10,315 | int () { final int PRIME = 59; int result = 1; result = result * PRIME + this.getX(); result = result * PRIME + Float.floatToIntBits(this.getF()); final long $d = Double.doubleToLongBits(this.getD()); result = result * PRIME + (int) ($d >>> 32 ^ $d); result = result * PRIME + (this.isBool() ? 79 : 97); result = result * PRIME + java.util.Arrays.hashCode(this.getY()); result = result * PRIME + java.util.Arrays.deepHashCode(this.getZ()); final Object $a = this.getA(); result = result * PRIME + ($a == null ? 43 : $a.hashCode()); return result; } | hashCode |
10,316 | boolean (final Object o) { if (o == this) return true; if (!(o instanceof EqualsAndHashCodeIncludeExclude)) return false; final EqualsAndHashCodeIncludeExclude other = (EqualsAndHashCodeIncludeExclude) o; if (!other.canEqual((Object) this)) return false; if (this.getX() != other.getX()) return false; final Object this$aaa = this.getA(); final Object other$aaa = other.getA(); if (this$aaa == null ? other$aaa != null : !this$aaa.equals(other$aaa)) return false; return true; } | equals |
10,317 | boolean (final Object other) { return other instanceof EqualsAndHashCodeIncludeExclude; } | canEqual |
10,318 | int () { final int PRIME = 59; int result = 1; result = result * PRIME + this.getX(); final Object $aaa = this.getA(); result = result * PRIME + ($aaa == null ? 43 : $aaa.hashCode()); return result; } | hashCode |
10,319 | boolean (final Object o) { if (o == this) return true; if (!(o instanceof EqualsAndHashCodeCallSuper)) return false; final EqualsAndHashCodeCallSuper other = (EqualsAndHashCodeCallSuper) o; if (!other.canEqual((Object) this)) return false; if (!super.equals(o)) return false; if (this.getX() != other.getX()) return false; if (Float.compare(this.getF(), other.getF()) != 0) return false; if (Double.compare(this.getD(), other.getD()) != 0) return false; if (this.isBool() != other.isBool()) return false; if (!java.util.Arrays.equals(this.getY(), other.getY())) return false; if (!java.util.Arrays.deepEquals(this.getZ(), other.getZ())) return false; final Object this$a = this.getA(); final Object other$a = other.getA(); if (this$a == null ? other$a != null : !this$a.equals(other$a)) return false; return true; } | equals |
10,320 | boolean (final Object other) { return other instanceof EqualsAndHashCodeCallSuper; } | canEqual |
10,321 | int () { final int PRIME = 59; int result = super.hashCode(); result = result * PRIME + this.getX(); result = result * PRIME + Float.floatToIntBits(this.getF()); final long $d = Double.doubleToLongBits(this.getD()); result = result * PRIME + (int) ($d >>> 32 ^ $d); result = result * PRIME + (this.isBool() ? 79 : 97); result = result * PRIME + java.util.Arrays.hashCode(this.getY()); result = result * PRIME + java.util.Arrays.deepHashCode(this.getZ()); final Object $a = this.getA(); result = result * PRIME + ($a == null ? 43 : $a.hashCode()); return result; } | hashCode |
10,322 | boolean (final Object o) { if (o == this) return true; if (!(o instanceof EqualsAndHashCodeSimpleOf)) return false; final EqualsAndHashCodeSimpleOf other = (EqualsAndHashCodeSimpleOf) o; if (!other.canEqual((Object) this)) return false; if (this.getX() != other.getX()) return false; return true; } | equals |
10,323 | boolean (final Object other) { return other instanceof EqualsAndHashCodeSimpleOf; } | canEqual |
10,324 | int () { final int PRIME = 59; int result = 1; result = result * PRIME + this.getX(); return result; } | hashCode |
10,325 | boolean (final Object o) { if (o == this) return true; if (!(o instanceof EqualsAndHashCodeSimpleExclude)) return false; final EqualsAndHashCodeSimpleExclude other = (EqualsAndHashCodeSimpleExclude) o; if (!other.canEqual((Object) this)) return false; if (Float.compare(this.getF(), other.getF()) != 0) return false; if (Double.compare(this.getD(), other.getD()) != 0) return false; if (this.isBool() != other.isBool()) return false; if (!java.util.Arrays.equals(this.getY(), other.getY())) return false; if (!java.util.Arrays.deepEquals(this.getZ(), other.getZ())) return false; final Object this$a = this.getA(); final Object other$a = other.getA(); if (this$a == null ? other$a != null : !this$a.equals(other$a)) return false; return true; } | equals |
10,326 | boolean (final Object other) { return other instanceof EqualsAndHashCodeSimpleExclude; } | canEqual |
10,327 | int () { final int PRIME = 59; int result = 1; result = result * PRIME + Float.floatToIntBits(this.getF()); final long $d = Double.doubleToLongBits(this.getD()); result = result * PRIME + (int) ($d >>> 32 ^ $d); result = result * PRIME + (this.isBool() ? 79 : 97); result = result * PRIME + java.util.Arrays.hashCode(this.getY()); result = result * PRIME + java.util.Arrays.deepHashCode(this.getZ()); final Object $a = this.getA(); result = result * PRIME + ($a == null ? 43 : $a.hashCode()); return result; } | hashCode |
10,328 | void () { System.out.println(); } | someMethod |
10,329 | B (int someInt) { this.someInt = someInt; return self(); } | someInt |
10,330 | B (String someField) { this.someField = someField; return self(); } | someField |
10,331 | String () { return "SuperBuilderJacksonized.SuperBuilderJacksonizedBuilder(someInt=" + this.someInt + ", someField=" + this.someField + ")"; } | toString |
10,332 | SuperBuilderJacksonizedBuilderImpl () { return this; } | self |
10,333 | SuperBuilderJacksonized () { return new SuperBuilderJacksonized(this); } | build |
10,334 | String () { return Test.f; } | getF |
10,335 | float () { return this.b; } | getB |
10,336 | double () { return this.c; } | getC |
10,337 | String () { return this.d; } | getD |
10,338 | float () { return this.b; } | getB |
10,339 | double () { return this.c; } | getC |
10,340 | String () { return this.d; } | getD |
10,341 | String () { return this.e; } | getE |
10,342 | void (String f) { Test.f = f; } | setF |
10,343 | void (float b) { this.b = b; } | setB |
10,344 | void (double c) { this.c = c; } | setC |
10,345 | void (String d) { this.d = d; } | setD |
10,346 | void (float b) { this.b = b; } | setB |
10,347 | void (double c) { this.c = c; } | setC |
10,348 | void (String d) { this.d = d; } | setD |
10,349 | void (String e) { this.e = e; } | setE |
10,350 | void () { log.debug("Toasters."); } | doStuff |
10,351 | void () { log.debug("Toasters."); } | doStuff |
10,352 | void (String[] args) { for (int i = 1; i <= 1000; i++) { System.out.println("String someString" + i + ";"); } HugeClass hugeClass = new HugeClass(); System.out.println(hugeClass.someString1); } | main |
10,353 | void () { try { System.out.println("test1"); } catch (final java.lang.Throwable $ex) { throw lombok.Lombok.sneakyThrow($ex); } } | test |
10,354 | void () { try { System.out.println("test2"); } catch (final java.lang.Throwable $ex) { throw lombok.Lombok.sneakyThrow($ex); } } | test2 |
10,355 | void (int z) { } | m |
10,356 | void () { final int y = x; m(y); } | test |
10,357 | int () { return this.x; } | getX |
10,358 | void () { synchronized (InjectField1.$LOCK) { System.out.println("static lock field"); } } | generateStaticLockField |
10,359 | void () { synchronized (SynchronizedPlain2.$LOCK) { System.out.println("three"); } } | test |
10,360 | void () { synchronized (SynchronizedPlain2.$LOCK) { System.out.println("four"); } } | test2 |
10,361 | void () { synchronized (SynchronizedNameStaticToInstanceRef.read) { System.out.println("three"); } } | test3 |
10,362 | int () { return this.i; } | getI |
10,363 | String () { return this.s; } | getS |
10,364 | Object () { return this.o; } | getO |
10,365 | void (@lombok.NonNull final int i) { this.i = i; } | setI |
10,366 | void (@lombok.NonNull final String s) { if (s == null) { throw new java.lang.NullPointerException("s is marked non-null but is null"); } this.s = s; } | setS |
10,367 | void (final Object o) { this.o = o; } | setO |
10,368 | String () { int[] intArray = {5, 3, 8, 2}; java.util.Arrays.sort(intArray); String iAmNull = null; return ExtensionMethodPlain.Extensions.or(iAmNull, ExtensionMethodPlain.Extensions.toTitleCase("hELlO, WORlD!")); } | test |
10,369 | String (String in) { if (in.isEmpty()) return in; return "" + Character.toTitleCase(in.charAt(0)) + in.substring(1).toLowerCase(); } | toTitleCase |
10,370 | void () { try { System.out.println("test1"); } catch (final Throwable $ex) { throw lombok.Lombok.sneakyThrow($ex); } } | test |
10,371 | void () { try { System.out.println("test2"); throw new IOException(); } catch (final IOException $ex) { throw lombok.Lombok.sneakyThrow($ex); } } | test2 |
10,372 | void () { try { System.out.println("test3"); throw new IOException(); } catch (final IOException $ex) { throw lombok.Lombok.sneakyThrow($ex); } } | test3 |
10,373 | void (@lombok.NonNull String arg, @lombok.NonNull String arg2, @lombok.NonNull String arg3) { if (arg == null) { throw new java.lang.NullPointerException("arg is marked non-null but is null"); } if (arg3 == null) { throw new java.lang.NullPointerException("arg3 is marked non-null but is null"); } if (arg2 == null) { throw new NullPointerException("arg2"); } if (arg == null) System.out.println("Hello"); } | test2 |
10,374 | void (@lombok.NonNull String arg) { if (arg == null) { throw new java.lang.NullPointerException("arg is marked non-null but is null"); } if (arg != null) throw new IllegalStateException(); } | test3 |
10,375 | void (@lombok.NonNull String stringArg, @lombok.NonNull String arg2, @lombok.NonNull int primitiveArg) { if (stringArg == null) { throw new java.lang.NullPointerException("stringArg is marked non-null but is null"); } if (arg2 == null) { throw new java.lang.NullPointerException("arg2 is marked non-null but is null"); } } | test |
10,376 | void (@lombok.NonNull String arg) { if (arg == null) { throw new java.lang.NullPointerException("arg is marked non-null but is null"); } System.out.println("Hey"); if (arg == null) throw new NullPointerException(); } | test |
10,377 | void (String[] args) { TestOnX test1 = new TestOnX(1, "str"); System.out.println(test1); TestOnX test2 = new TestOnX(2, "str", 3.0F); System.out.println(test2); } | main |
10,378 | String () { return "TestOnX(someIntField=" + this.getSomeIntField() + ", someStringField=" + this.getSomeStringField() + ", someFloatField=" + this.someFloatField + ")"; } | toString |
10,379 | boolean (@Valid Object o) { if (o == this) { return true; } else if (!(o instanceof TestOnX)) { return false; } else { TestOnX other = (TestOnX)o; if (!other.canEqual(this)) { return false; } else if (Float.compare(this.someFloatField, other.someFloatField) != 0) { return false; } else { Object this$someIntField = this.getSomeIntField(); Object other$someIntField = other.getSomeIntField(); if (this$someIntField == null) { if (other$someIntField != null) { return false; } } else if (!this$someIntField.equals(other$someIntField)) { return false; } Object this$someStringField = this.getSomeStringField(); Object other$someStringField = other.getSomeStringField(); if (this$someStringField == null) { if (other$someStringField != null) { return false; } } else if (!this$someStringField.equals(other$someStringField)) { return false; } return true; } } } | equals |
10,380 | boolean (@Valid Object other) { return other instanceof TestOnX; } | canEqual |
10,381 | int () { int PRIME = true; int result = 1; int result = result * 59 + Float.floatToIntBits(this.someFloatField); Object $someIntField = this.getSomeIntField(); result = result * 59 + ($someIntField == null ? 43 : $someIntField.hashCode()); Object $someStringField = this.getSomeStringField(); result = result * 59 + ($someStringField == null ? 43 : $someStringField.hashCode()); return result; } | hashCode |
10,382 | Integer () { return this.someIntField; } | getSomeIntField |
10,383 | String () { return this.someStringField; } | getSomeStringField |
10,384 | int () { return this.x; } | getX |
10,385 | void () { try { try { System.out.println("test1"); throw new IOException(); } catch (final IOException $ex) { throw lombok.Lombok.sneakyThrow($ex); } } catch (final Throwable $ex) { throw lombok.Lombok.sneakyThrow($ex); } } | test |
10,386 | void () { try { try { System.out.println("test2"); if (new Random().nextBoolean()) { throw new IOException(); } else { throw new AWTException("WHAT"); } } catch (final AWTException $ex) { throw lombok.Lombok.sneakyThrow($ex); } } catch (final IOException $ex) { throw lombok.Lombok.sneakyThrow($ex); } } | test2 |
10,387 | void () { try { try { System.out.println("test3"); throw new IOException(); } catch (final IOException $ex) { throw lombok.Lombok.sneakyThrow($ex); } } catch (final Throwable $ex) { throw lombok.Lombok.sneakyThrow($ex); } } | test3 |
10,388 | String () { return name(); } | foo |
10,389 | record (String iAmADvdPlayer, int $skipMe, int andMe, String butPrintMePlease) { static double skipMeToo; @java.lang.SuppressWarnings("all") static final class Fields { public static final java.lang.String iAmADvdPlayer = "iAmADvdPlayer"; public static final java.lang.String butPrintMePlease = "butPrintMePlease"; } } | FieldNameConstantsOnRecord |
10,390 | String () { return "ToStringExplicitInclude()"; } | toString |
10,391 | String () { return "ToString1(x=" + this.x + ", name=" + this.name + ")"; } | toString |
10,392 | String () { return "ToString2(x=" + this.x + ", name=" + this.name + ")"; } | toString |
10,393 | String () { return "ToStringOuter.ToStringInner(y=" + this.y + ")"; } | toString |
10,394 | String () { return "ToStringOuter.ToStringStaticInner(y=" + this.y + ")"; } | toString |
10,395 | String () { return "ToStringOuter.ToStringMiddle.ToStringMoreInner(name=" + this.name + ")"; } | toString |
10,396 | String () { return "ToStringOuter(x=" + this.x + ", name=" + this.name + ")"; } | toString |
10,397 | String () { return "ToStringNewStyle(a=" + this.b + ", c=" + this.c + ", e=" + this.d + ", f=" + this.f() + ", g=" + this.g + ", i=" + this.i + ", h=" + this.h + ")"; } | toString |
10,398 | String () { return "ToStringAutoExclude(x=" + this.x + ", b=" + this.b + ")"; } | toString |
10,399 | String () { return "ToStringAutoExclude2(x=" + this.x + ", $a=" + this.$a + ", b=" + this.b + ")"; } | toString |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.