Unnamed: 0
int64 0
305k
| body
stringlengths 7
52.9k
| name
stringlengths 1
185
|
|---|---|---|
10,000
|
void (String[] args) { new JBossLogTest().logSomething(); }
|
main
|
10,001
|
void () { log.info("Hello World!"); }
|
logSomething
|
10,002
|
void (String[] args) { new Slf4jTest().logSomething(); }
|
main
|
10,003
|
void () { log.info("Hello World!"); }
|
logSomething
|
10,004
|
void (String[] args) { new Log4j2Test().logSomething(); }
|
main
|
10,005
|
void () { log.info("Hello World!"); }
|
logSomething
|
10,006
|
void (String[] args) { new XSlf4jTest().logSomething(); }
|
main
|
10,007
|
void () { log.info("Hello World!"); }
|
logSomething
|
10,008
|
void (String[] args) { new CommonsLogTest().logSomething(); }
|
main
|
10,009
|
void () { log.atInfo().log("Hello World!"); }
|
logSomething
|
10,010
|
void (String[] args) { new FloggerTest().logSomething(); }
|
main
|
10,011
|
void () { log.info("Hello World!"); }
|
logSomething
|
10,012
|
void (String[] args) { new Log4jTest().logSomething(); }
|
main
|
10,013
|
void () { log.info("Hello World!"); }
|
logSomething
|
10,014
|
void (String[] args) { new LogTest().logSomething(); }
|
main
|
10,015
|
void () { log.info("Hello World!"); }
|
logSomething
|
10,016
|
void (String[] args) { log.info("Test"); new CustomLogTest().logSomething(); }
|
main
|
10,017
|
void () { log.info("Hello World!"); }
|
logSomething
|
10,018
|
void (String[] args) { log.info("Test"); new CustomLogTest().logSomething(); }
|
main
|
10,019
|
int () { return intProperty; }
|
getIntProperty
|
10,020
|
boolean () { return booleanProperty; }
|
isBooleanProperty
|
10,021
|
double () { return doubleProperty; }
|
getDoubleProperty
|
10,022
|
String () { return stringProperty; }
|
getStringProperty
|
10,023
|
void (String[] args) { final WithoutSuperTest test = new WithoutSuperTest(); System.out.println(test.hashCode()); }
|
main
|
10,024
|
boolean (Object o) { if (o == this) return true; if (!(o instanceof WithoutSuperTest)) return false; final WithoutSuperTest other = (WithoutSuperTest) o; if (!other.canEqual((java.lang.Object) this)) return false; if (this.getIntProperty() != other.getIntProperty()) return false; if (this.isBooleanProperty() != other.isBooleanProperty()) return false; if (java.lang.Double.compare(this.getDoubleProperty(), other.getDoubleProperty()) != 0) return false; final java.lang.Object this$stringProperty = this.getStringProperty(); final java.lang.Object other$stringProperty = other.getStringProperty(); if (this$stringProperty == null ? other$stringProperty != null : !this$stringProperty.equals(other$stringProperty)) return false; return true; }
|
equals
|
10,025
|
int () { final int PRIME = 59; int result = 1; result = result * PRIME + this.getIntProperty(); result = result * PRIME + (this.isBooleanProperty() ? 79 : 97); final long $doubleProperty = java.lang.Double.doubleToLongBits(this.getDoubleProperty()); result = result * PRIME + (int) ($doubleProperty >>> 32 ^ $doubleProperty); final java.lang.Object $stringProperty = this.getStringProperty(); result = result * PRIME + ($stringProperty == null ? 43 : $stringProperty.hashCode()); return result; }
|
hashCode
|
10,026
|
boolean (Object other) { return other instanceof WithoutSuperTest; }
|
canEqual
|
10,027
|
int () { return intProperty; }
|
getIntProperty
|
10,028
|
boolean () { return booleanProperty; }
|
isBooleanProperty
|
10,029
|
boolean (final Object o) { if (o == this) return true; if (!(o instanceof WithSuperTest.BasisClass)) return false; final WithSuperTest.BasisClass other = (WithSuperTest.BasisClass) o; if (!other.canEqual((java.lang.Object) this)) return false; if (this.getIntProperty() != other.getIntProperty()) return false; if (this.isBooleanProperty() != other.isBooleanProperty()) return false; return true; }
|
equals
|
10,030
|
boolean (final Object other) { return other instanceof WithSuperTest.BasisClass; }
|
canEqual
|
10,031
|
int () { final int PRIME = 59; int result = 1; result = result * PRIME + this.getIntProperty(); result = result * PRIME + (this.isBooleanProperty() ? 79 : 97); return result; }
|
hashCode
|
10,032
|
double () { return doubleProperty; }
|
getDoubleProperty
|
10,033
|
String () { return stringProperty; }
|
getStringProperty
|
10,034
|
boolean (final Object o) { if (o == this) return true; if (!(o instanceof WithSuperTest.ExtendedClass)) return false; final WithSuperTest.ExtendedClass other = (WithSuperTest.ExtendedClass) o; if (!other.canEqual((java.lang.Object) this)) return false; if (!super.equals(o)) return false; if (java.lang.Double.compare(this.getDoubleProperty(), other.getDoubleProperty()) != 0) return false; final java.lang.Object this$stringProperty = this.getStringProperty(); final java.lang.Object other$stringProperty = other.getStringProperty(); if (this$stringProperty == null ? other$stringProperty != null : !this$stringProperty.equals(other$stringProperty)) return false; return true; }
|
equals
|
10,035
|
boolean (final Object other) { return other instanceof WithSuperTest.ExtendedClass; }
|
canEqual
|
10,036
|
int () { final int PRIME = 59; int result = super.hashCode(); final long $doubleProperty = java.lang.Double.doubleToLongBits(this.getDoubleProperty()); result = result * PRIME + (int) ($doubleProperty >>> 32 ^ $doubleProperty); final java.lang.Object $stringProperty = this.getStringProperty(); result = result * PRIME + ($stringProperty == null ? 43 : $stringProperty.hashCode()); return result; }
|
hashCode
|
10,037
|
void (String[] args) { final ExtendedClass test = new ExtendedClass(); System.out.println(test.hashCode()); }
|
main
|
10,038
|
int () { return intProperty; }
|
getIntProperty
|
10,039
|
boolean () { return booleanProperty; }
|
isBooleanProperty
|
10,040
|
double () { return doubleProperty; }
|
getDoubleProperty
|
10,041
|
String () { return stringProperty; }
|
getStringProperty
|
10,042
|
void (String[] args) { final WithoutSuperTest test = new WithoutSuperTest(); System.out.println(test.hashCode()); }
|
main
|
10,043
|
int () { return intProperty; }
|
getIntProperty
|
10,044
|
boolean () { return booleanProperty; }
|
isBooleanProperty
|
10,045
|
double () { return doubleProperty; }
|
getDoubleProperty
|
10,046
|
String () { return stringProperty; }
|
getStringProperty
|
10,047
|
void (String[] args) { final ExtendedClass test = new ExtendedClass(); System.out.println(test.hashCode()); }
|
main
|
10,048
|
int () { return intProperty; }
|
getIntProperty
|
10,049
|
boolean () { return booleanProperty; }
|
isBooleanProperty
|
10,050
|
double () { return doubleProperty; }
|
getDoubleProperty
|
10,051
|
String () { return stringProperty; }
|
getStringProperty
|
10,052
|
void (String[] args) { final AnnotationOverwriteTest test = new AnnotationOverwriteTest(); System.out.println(test.hashCode()); }
|
main
|
10,053
|
boolean (Object o) { if (o == this) return true; if (!(o instanceof AnnotationOverwriteTest)) return false; final AnnotationOverwriteTest other = (AnnotationOverwriteTest) o; if (!other.canEqual((java.lang.Object) this)) return false; if (this.getIntProperty() != other.getIntProperty()) return false; if (this.isBooleanProperty() != other.isBooleanProperty()) return false; if (java.lang.Double.compare(this.getDoubleProperty(), other.getDoubleProperty()) != 0) return false; final java.lang.Object this$stringProperty = this.getStringProperty(); final java.lang.Object other$stringProperty = other.getStringProperty(); if (this$stringProperty == null ? other$stringProperty != null : !this$stringProperty.equals(other$stringProperty)) return false; return true; }
|
equals
|
10,054
|
int () { final int PRIME = 59; int result = 1; result = result * PRIME + this.getIntProperty(); result = result * PRIME + (this.isBooleanProperty() ? 79 : 97); final long $doubleProperty = java.lang.Double.doubleToLongBits(this.getDoubleProperty()); result = result * PRIME + (int) ($doubleProperty >>> 32 ^ $doubleProperty); final java.lang.Object $stringProperty = this.getStringProperty(); result = result * PRIME + ($stringProperty == null ? 43 : $stringProperty.hashCode()); return result; }
|
hashCode
|
10,055
|
boolean (java.lang.Object other) { return other instanceof AnnotationOverwriteTest; }
|
canEqual
|
10,056
|
int () { return intProperty; }
|
getIntProperty
|
10,057
|
boolean () { return booleanProperty; }
|
isBooleanProperty
|
10,058
|
double () { return doubleProperty; }
|
getDoubleProperty
|
10,059
|
String () { return stringProperty; }
|
getStringProperty
|
10,060
|
void (String[] args) { final SomeTest test = new SomeTest(); System.out.println(test.hashCode()); }
|
main
|
10,061
|
boolean (Object o) { if (o == this) return true; if (!(o instanceof SomeTest)) return false; final SomeTest other = (SomeTest) o; if (!other.canEqual((java.lang.Object) this)) return false; if (this.intProperty != other.intProperty) return false; if (this.booleanProperty != other.booleanProperty) return false; if (java.lang.Double.compare(this.doubleProperty, other.doubleProperty) != 0) return false; final java.lang.Object this$stringProperty = this.stringProperty; final java.lang.Object other$stringProperty = other.stringProperty; if (this$stringProperty == null ? other$stringProperty != null : !this$stringProperty.equals(other$stringProperty)) return false; return true; }
|
equals
|
10,062
|
int () { final int PRIME = 59; int result = 1; result = result * PRIME + this.intProperty; result = result * PRIME + (this.booleanProperty ? 79 : 97); final long $doubleProperty = java.lang.Double.doubleToLongBits(this.doubleProperty); result = result * PRIME + (int) ($doubleProperty >>> 32 ^ $doubleProperty); final java.lang.Object $stringProperty = this.stringProperty; result = result * PRIME + ($stringProperty == null ? 43 : $stringProperty.hashCode()); return result; }
|
hashCode
|
10,063
|
boolean (java.lang.Object other) { return other instanceof SomeTest; }
|
canEqual
|
10,064
|
int () { return intProperty; }
|
getIntProperty
|
10,065
|
boolean () { return booleanProperty; }
|
isBooleanProperty
|
10,066
|
double () { return doubleProperty; }
|
getDoubleProperty
|
10,067
|
String () { return stringProperty; }
|
getStringProperty
|
10,068
|
void (String[] args) { final AnnotationOverwriteTest test = new AnnotationOverwriteTest(); System.out.println(test.hashCode()); }
|
main
|
10,069
|
int () { return intProperty; }
|
getIntProperty
|
10,070
|
boolean () { return booleanProperty; }
|
isBooleanProperty
|
10,071
|
double () { return doubleProperty; }
|
getDoubleProperty
|
10,072
|
String () { return stringProperty; }
|
getStringProperty
|
10,073
|
void (String[] args) { final SomeTest test = new SomeTest(); System.out.println(test.hashCode()); }
|
main
|
10,074
|
void (String[] args) { final GetterFieldTest test = new GetterFieldTest(); test.getIntProperty(); test.getStringProperty(); test.getBooleanObjectProperty(); test.getBooleanProperty(); }
|
main
|
10,075
|
int () { return this.intProperty; }
|
getIntProperty
|
10,076
|
String () { return this.stringProperty; }
|
getStringProperty
|
10,077
|
boolean () { return this.booleanProperty; }
|
getBooleanProperty
|
10,078
|
Boolean () { return this.booleanObjectProperty; }
|
getBooleanObjectProperty
|
10,079
|
void (String[] args) { final GetterClassTest test = new GetterClassTest(); test.getIntProperty(); test.getStringProperty(); test.getBooleanObjectProperty(); test.getBooleanProperty(); }
|
main
|
10,080
|
int () { return this.intProperty; }
|
getIntProperty
|
10,081
|
String () { return this.stringProperty; }
|
getStringProperty
|
10,082
|
boolean () { return this.booleanProperty; }
|
getBooleanProperty
|
10,083
|
Boolean () { return this.booleanObjectProperty; }
|
getBooleanObjectProperty
|
10,084
|
void (String[] args) { final GetterFieldTest test = new GetterFieldTest(); test.getIntProperty(); test.getStringProperty(); test.getBooleanObjectProperty(); test.getBooleanProperty(); }
|
main
|
10,085
|
void (String[] args) { final GetterClassTest test = new GetterClassTest(); test.getIntProperty(); test.getStringProperty(); test.getBooleanObjectProperty(); test.getBooleanProperty(); }
|
main
|
10,086
|
String () { return ""; }
|
toProtoMessage
|
10,087
|
String (String s) { return s; }
|
fromProto
|
10,088
|
int () { <caret>throw new IOException(); }
|
calcSomething
|
10,089
|
void (String[] args) { System.out.println(new CheckedExeptionQuickFixExample().calcSomething()); }
|
main
|
10,090
|
void (String[] args) { CheckedMultipleExceptionQuickFixExample.class.<caret>newInstance(); }
|
main
|
10,091
|
void () { log.info("Hello!"); }
|
logHallo
|
10,092
|
void (String[] args) { Test test = new Test(); test.logHallo(); }
|
main
|
10,093
|
void () { log.info("Hello!"); }
|
logHallo
|
10,094
|
void (String[] args) { Test test = new Test(); test.logHallo(); }
|
main
|
10,095
|
void () { log.info("Hello!"); }
|
logHallo
|
10,096
|
void (String[] args) { Test test = new Test(); test.logHallo(); }
|
main
|
10,097
|
void () { log.info("Hello!"); }
|
logHallo
|
10,098
|
void (String[] args) { Test test = new Test(); test.logHallo(); }
|
main
|
10,099
|
void () { log.info("Hello!"); }
|
logHallo
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.