Unnamed: 0
int64
0
305k
body
stringlengths
7
52.9k
name
stringlengths
1
185
10,100
void (String[] args) { Test test = new Test(); test.logHallo(); }
main
10,101
void () { log.info("Hello!"); }
logHallo
10,102
void (String[] args) { Test test = new Test(); test.logHallo(); }
main
10,103
void () { log.info("Hello!"); }
logHallo
10,104
void (String[] args) { Test test = new Test(); test.logHallo(); }
main
10,105
void () { log324.info("Hello!"); }
logHallo
10,106
void (String[] args) { Test test = new Test(); test.logHallo(); }
main
10,107
void () { log.info("Hello!"); }
logHallo
10,108
void (String[] args) { Test test = new Test(); test.logHallo(); }
main
10,109
void () { log.info("Hello!"); }
logHallo
10,110
void (String[] args) { Test test = new Test(); test.logHallo(); }
main
10,111
float () { return b; }
getB
10,112
double () { return c; }
getC
10,113
String () { return d; }
getD
10,114
float () { return b; }
getB
10,115
double () { return c; }
getC
10,116
String () { return d; }
getD
10,117
float () { return b; }
getB
10,118
double () { return c; }
getC
10,119
String () { return d; }
getD
10,120
float () { return b; }
getB
10,121
double () { return c; }
getC
10,122
String () { return d; }
getD
10,123
float () { return b; }
getB
10,124
double () { return c; }
getC
10,125
String () { return d; }
getD
10,126
void (float b) { this.b = b; }
setB
10,127
void (double c) { this.c = c; }
setC
10,128
void (String d) { this.d = d; }
setD
10,129
void (float b) { this.b = b; }
setB
10,130
void (double c) { this.c = c; }
setC
10,131
void (String d) { this.d = d; }
setD
10,132
void (float b) { this.b = b; }
setB
10,133
void (double c) { this.c = c; }
setC
10,134
void (String d) { this.d = d; }
setD
10,135
void (float b) { this.b = b; }
setB
10,136
void (double c) { this.c = c; }
setC
10,137
void (String d) { this.d = d; }
setD
10,138
void (float b) { this.b = b; }
setB
10,139
void (double c) { this.c = c; }
setC
10,140
void (String d) { this.d = d; }
setD
10,141
String () { return staticStringProperty; }
getStaticStringProperty
10,142
String[] () { return staticStringPropertyArray; }
getStaticStringPropertyArray
10,143
String () { return "ClassToStringCallSuper(super=" + super.toString() + ", intProperty=" + this.intProperty + ", floatProperty=" + this.floatProperty + ", floatPropertyArray=" + java.util.Arrays.toString(this.floatPropertyArray) + ", stringProperty=" + this.stringProperty + ", stringPropertyArray=" + java.util.Arrays.deepToString(this.stringPropertyArray) + ")"; }
toString
10,144
String () { return "ClassToStringSimple(intProperty=" + this.intProperty + ", floatProperty=" + this.floatProperty + ", floatPropertyArray=" + java.util.Arrays.toString(this.floatPropertyArray) + ", stringProperty=" + this.stringProperty + ", stringPropertyArray=" + java.util.Arrays.deepToString(this.stringPropertyArray) + ")"; }
toString
10,145
String () { return "ClassToStringExclude(intProperty=" + this.intProperty + ", floatPropertyArray=" + java.util.Arrays.toString(this.floatPropertyArray) + ", stringProperty=" + this.stringProperty + ", stringPropertyArray=" + java.util.Arrays.deepToString(this.stringPropertyArray) + ")"; }
toString
10,146
String () { return staticStringProperty; }
getStaticStringProperty
10,147
String[] () { return staticStringPropertyArray; }
getStaticStringPropertyArray
10,148
String () { return "ClassToStringNoGetters(intProperty=" + this.intProperty + ", floatProperty=" + this.floatProperty + ", floatPropertyArray=" + java.util.Arrays.toString(this.floatPropertyArray) + ", stringProperty=" + this.stringProperty + ", stringPropertyArray=" + java.util.Arrays.deepToString(this.stringPropertyArray) + ")"; }
toString
10,149
String () { return "ClassToStringOf(floatProperty=" + this.floatProperty + ")"; }
toString
10,150
int () { return this.finalX; }
getFinalX
10,151
int () { return this.x; }
getX
10,152
float () { return this.f; }
getF
10,153
double () { return this.d; }
getD
10,154
boolean () { return this.bool; }
isBool
10,155
boolean[] () { return this.y; }
getY
10,156
Object[] () { return this.z; }
getZ
10,157
String () { return this.a; }
getA
10,158
void (int x) { this.x = x; }
setX
10,159
void (float f) { this.f = f; }
setF
10,160
void (double d) { this.d = d; }
setD
10,161
void (boolean bool) { this.bool = bool; }
setBool
10,162
void (boolean[] y) { this.y = y; }
setY
10,163
void (Object[] z) { this.z = z; }
setZ
10,164
void (String a) { this.a = a; }
setA
10,165
boolean (final Object o) { if (o == this) return true; if (!(o instanceof DataSimple)) return false; final DataSimple other = (DataSimple) o; if (!other.canEqual((Object) this)) return false; if (this.getFinalX() != other.getFinalX()) 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,166
boolean (final Object other) { return other instanceof DataSimple; }
canEqual
10,167
int () { final int PRIME = 59; int result = 1; result = result * PRIME + this.getFinalX(); 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,168
String () { return "DataSimple(finalX=" + this.getFinalX() + ", x=" + this.getX() + ", f=" + this.getF() + ", d=" + this.getD() + ", bool=" + this.isBool() + ", y=" + java.util.Arrays.toString(this.getY()) + ", z=" + java.util.Arrays.deepToString(this.getZ()) + ", a=" + this.getA() + ")"; }
toString
10,169
String () { return this.f1; }
getF1
10,170
String () { return this.f2; }
getF2
10,171
boolean (final Object o) { if (o == this) return true; if (!(o instanceof Class1)) return false; final Class1 other = (Class1) o; final Object this$f1 = this.getF1(); final Object other$f1 = other.getF1(); if (this$f1 == null ? other$f1 != null : !this$f1.equals(other$f1)) return false; return true; }
equals
10,172
int () { final int PRIME = 59; int result = 1; final Object $f1 = this.getF1(); result = result * PRIME + ($f1 == null ? 43 : $f1.hashCode()); return result; }
hashCode
10,173
String () { return "Class1(f1=" + this.getF1() + ", f2=" + this.getF2() + ")"; }
toString
10,174
void (@NonNull Integer someParentInteger) { this.someParentInteger = someParentInteger; }
setSomeParentInteger
10,175
boolean (final Object o) { if (o == this) return true; if (!(o instanceof DataWithAnnotations)) return false; final DataWithAnnotations other = (DataWithAnnotations) o; if (!other.canEqual((Object) this)) return false; final Object this$someParentInteger = this.getSomeParentInteger(); final Object other$someParentInteger = other.getSomeParentInteger(); if (this$someParentInteger == null ? other$someParentInteger != null : !this$someParentInteger.equals(other$someParentInteger)) return false; return true; }
equals
10,176
boolean (final Object other) { return other instanceof DataWithAnnotations; }
canEqual
10,177
int () { final int PRIME = 59; int result = 1; final Object $someParentInteger = this.getSomeParentInteger(); result = result * PRIME + ($someParentInteger == null ? 43 : $someParentInteger.hashCode()); return result; }
hashCode
10,178
String () { return "DataWithAnnotations(someParentInteger=" + this.getSomeParentInteger() + ")"; }
toString
10,179
BuilderCopyableAnnotationsBuilder () { return new BuilderCopyableAnnotationsBuilder(); }
builder
10,180
BuilderCopyableAnnotationsBuilder (float someFloat) { this.someFloat = someFloat; return this; }
someFloat
10,181
BuilderCopyableAnnotationsBuilder (int someInt) { this.someInt = someInt; return this; }
someInt
10,182
BuilderCopyableAnnotationsBuilder (String someField) { this.someField = someField; return this; }
someField
10,183
BuilderCopyableAnnotationsBuilder (String someString) { if (this.someStrings == null) this.someStrings = new ArrayList<String>(); this.someStrings.add(someString); return this; }
someString
10,184
BuilderCopyableAnnotationsBuilder (Collection<? extends String> someStrings) { if (someStrings == null) { throw new NullPointerException("someStrings cannot be null"); } if (this.someStrings == null) this.someStrings = new ArrayList<String>(); this.someStrings.addAll(someStrings); return this; }
someStrings
10,185
BuilderCopyableAnnotationsBuilder () { if (this.someStrings != null) this.someStrings.clear(); return this; }
clearSomeStrings
10,186
BuilderCopyableAnnotations () { java.util.List<String> someStrings; switch (this.someStrings == null ? 0 : this.someStrings.size()) { case 0: someStrings = java.util.Collections.emptyList(); break; case 1: someStrings = java.util.Collections.singletonList(this.someStrings.get(0)); break; default: someStrings = java.util.Collections.unmodifiableList(new ArrayList<String>(this.someStrings)); } return new BuilderCopyableAnnotations(this.someFloat, this.someInt, this.someField, someStrings); }
build
10,187
String () { return "BuilderCopyableAnnotations.BuilderCopyableAnnotationsBuilder(someFloat=" + this.someFloat + ", someInt=" + this.someInt + ", someField=" + this.someField + ", someStrings=" + this.someStrings + ")"; }
toString
10,188
BuilderSimplePreDefinedBuilder () { return new BuilderSimplePreDefinedBuilder(); }
builder
10,189
BuilderSimplePreDefinedBuilder (String myString) { this.myString = myString + "something"; return this; }
myString
10,190
BuilderSimplePreDefinedBuilder (int myInt) { this.myInt = myInt; return this; }
myInt
10,191
BuilderSimplePreDefined () { return new BuilderSimplePreDefined(this.myInt, this.myString); }
build
10,192
String () { return "BuilderSimplePreDefined.BuilderSimplePreDefinedBuilder(myInt=" + this.myInt + ", myString=" + this.myString + ")"; }
toString
10,193
void (String[] args) { BuilderSimplePreDefined builderSimple = BuilderSimplePreDefined.builder().myInt(123).myString("string").build(); System.out.println(builderSimple); }
main
10,194
BuilderAtMethodSimplePredefined (int myInt, String myString) { BuilderAtMethodSimplePredefined result = new BuilderAtMethodSimplePredefined(); result.myInt = myInt; result.myString = myString; return result; }
createMe
10,195
BuilderAtMethodSimplePredefinedBuilder (String myString) { this.myString = myString + "something"; return this; }
myString
10,196
void (String[] args) { BuilderAtMethodSimplePredefined builderSimple = BuilderAtMethodSimplePredefined.builder().myInt(123).myString("string").build(); System.out.println(builderSimple); }
main
10,197
BuilderAtMethodSimple (int myInt, String myString) { BuilderAtMethodSimple result = new BuilderAtMethodSimple(); result.myInt = myInt; result.myString = myString; return result; }
createMe
10,198
void (String[] args) { BuilderAtMethodSimple builderSimple = BuilderAtMethodSimple.builder().myInt(123).myString("string").build(); System.out.println(builderSimple); }
main
10,199
BuilderSingularMapBuilder () { return new BuilderSingularMapBuilder(); }
builder