Unnamed: 0
int64 0
305k
| body
stringlengths 7
52.9k
| name
stringlengths 1
185
|
|---|---|---|
4,200
|
void () { doTest(); }
|
testLongConstantChange
|
4,201
|
void () { doTest(); }
|
testNonCompileTimeConstant
|
4,202
|
void () { doTest(); }
|
testStringConstantChange
|
4,203
|
void () { setupInitialProject(); final JpsJavaCompilerConfiguration config = JpsJavaExtensionService.getInstance().getCompilerConfiguration(myProject); config.setJavaCompilerId(JavaCompilers.ECLIPSE_ID); doTestBuild(1); }
|
testStringConstantChangeWithECJ
|
4,204
|
void () { doTest(); }
|
testStringConstantLessAccessible
|
4,205
|
void () { doTest(); }
|
testTypeChange
|
4,206
|
void () { doTest(); }
|
testTypeChange1
|
4,207
|
void () { doTest(); }
|
testTypeChange2
|
4,208
|
void () { doTest(); }
|
testNonIncremental1
|
4,209
|
void () { doTest(); }
|
testNonIncremental2
|
4,210
|
void () { doTest(); }
|
testNonIncremental3
|
4,211
|
void () { doTest(); }
|
testNonIncremental4
|
4,212
|
void () { doTest(); }
|
testMutualConstants
|
4,213
|
void () { doTest(); }
|
testAddStatic
|
4,214
|
void () { doTest(); }
|
testRemoveStatic
|
4,215
|
void () { doTest(); }
|
testDecAccess
|
4,216
|
void () { doTest(); }
|
testSetAbstract
|
4,217
|
void () { doTest(); }
|
testDropAbstract
|
4,218
|
void () { doTest(); }
|
testSetFinal
|
4,219
|
void () { doTest(); }
|
testSetFinal1
|
4,220
|
void () { doTest(); }
|
testChangeInnerClassModifiers
|
4,221
|
void (final String[] args) { final Env env = new Env(args); env.report(); final String dataPath = env.getProjectPath(); final String oath = env.getOutputPath(); if (dataPath == null) { System.err.println("No project path specified."); } else { try { final File parent = new File(oath == null ? "" : oath); final File dataStorageRoot = new File(dataPath, "mappings"); final Mappings mappings = new Mappings(dataStorageRoot, new PathRelativizerService()); try { //final File outputPath = new File(parent, "snapshot-" + new SimpleDateFormat("dd-MM-yy(hh-mm-ss)").format(new Date()) + ".log"); //FileUtil.createIfDoesntExist(outputPath); //final PrintStream p = new PrintStream(outputPath); //mappings.toStream(p); //p.close(); mappings.toStream(parent); } finally { mappings.close(); } } catch (Exception e) { throw new RuntimeException(e); } } }
|
main
|
4,222
|
void () { doTest(); }
|
testAddAbstractMethod
|
4,223
|
void () { doTest(); }
|
testAddSAMInterfaceMethod
|
4,224
|
void () { doTest(); }
|
testDeleteSAMInterfaceMethod
|
4,225
|
void () { doTest(); }
|
testRenameSAMInterfaceMethod
|
4,226
|
void () { doTest(); }
|
testAddSAMInterfaceAbstractMethod
|
4,227
|
void () { doTest(); }
|
testChangeSAMInterfaceMethodToAbstract
|
4,228
|
void () { doTest(); }
|
testAddPrivateMethodToAbstractClass
|
4,229
|
void () { doTest(); }
|
testAddConstructorParameter
|
4,230
|
void () { doTest(); }
|
testAddFieldToBaseClass
|
4,231
|
void () { doTest(); }
|
testAddFieldOfSameKindToBaseClass
|
4,232
|
void () { doTest(); }
|
testAddFieldToDerived
|
4,233
|
void () { doTest(); }
|
testAddFieldToInterface
|
4,234
|
void () { doTest(); }
|
testAddFieldToEnum
|
4,235
|
void () { doTest(); }
|
testAddFieldToInterface2
|
4,236
|
void () { doTest(); }
|
testAddFinalMethodHavingNonFinalMethodInSubclass
|
4,237
|
void () { doTest(); }
|
testAddHidingField
|
4,238
|
void () { doTest(); }
|
testAddHidingMethod
|
4,239
|
void () { doTest(); }
|
testAddInterfaceMethod
|
4,240
|
void () { doTest(); }
|
testAddInterfaceMethod2
|
4,241
|
void () { doTest(); }
|
testAddLessAccessibleFieldToDerived
|
4,242
|
void () { doTest(); }
|
testAddMethodWithIncompatibleReturnType
|
4,243
|
void () { doTest(); }
|
testAddMethodWithCovariantReturnType
|
4,244
|
void () { doTest(); }
|
testAddMoreAccessibleMethodToBase
|
4,245
|
void () { doTest(); }
|
testAddMoreSpecific
|
4,246
|
void () { doTest(); }
|
testAddMoreSpecific1
|
4,247
|
void () { doTest(); }
|
testAddMoreSpecific2
|
4,248
|
void () { doTest(); }
|
testAddNonStaticMethodHavingStaticMethodInSubclass
|
4,249
|
void () { doTest(); }
|
testAddStaticFieldToDerived
|
4,250
|
void () { doTest(); }
|
testChangeStaticMethodSignature
|
4,251
|
void () { doTest(); }
|
testChangeMethodGenericReturnType
|
4,252
|
void () { doTest(); }
|
testDeleteConstructor
|
4,253
|
void () { doTest(); }
|
testAddParameterToConstructor
|
4,254
|
void () { doTest(); }
|
testDeleteInner
|
4,255
|
void () { doTest(); }
|
testDeleteMethod
|
4,256
|
void () { doTest(); }
|
testDeleteInterfaceMethod
|
4,257
|
void () { doTest(); }
|
testDeleteMethodImplementation
|
4,258
|
void () { doTest(); }
|
testDeleteMethodImplementation2
|
4,259
|
void () { doTest(); }
|
testDeleteMethodImplementation3
|
4,260
|
void () { doTest(); }
|
testDeleteMethodImplementation4
|
4,261
|
void () { doTest(); }
|
testDeleteMethodImplementation5
|
4,262
|
void () { doTest(); }
|
testDeleteMethodImplementation6
|
4,263
|
void () { doTest(); }
|
testDeleteMethodImplementation7
|
4,264
|
void () { doTest().assertFailed(); // should fail because of javac bug }
|
testDeleteOverridingPackageLocalMethodImpl
|
4,265
|
void () { doTest().assertFailed(); }
|
testDeleteOverridingPackageLocalMethodImpl2
|
4,266
|
void () { doTest(); }
|
testHierarchy
|
4,267
|
void () { doTest(); }
|
testHierarchy2
|
4,268
|
void () { doTest(); }
|
testRemoveBaseImplementation
|
4,269
|
void () { doTest(); }
|
testRemoveHidingField
|
4,270
|
void () { doTest(); }
|
testRemoveHidingMethod
|
4,271
|
void () { doTest(); }
|
testRemoveMoreAccessibleMethod
|
4,272
|
void () { doTest(); }
|
testRenameMethod
|
4,273
|
void () { doTest().assertSuccessful(); }
|
testMoveMethodToSubclass
|
4,274
|
void () { doTest(); }
|
testThrowsListDiffersInBaseAndDerived
|
4,275
|
void () { doTest(); }
|
testRemoveThrowsInBaseMethod
|
4,276
|
void () { doTest(); }
|
testAddMethod
|
4,277
|
void () { doTest(); }
|
testAddOverloadingMethod
|
4,278
|
void () { doTest(); }
|
testAddOverridingMethodAndChangeReturnType
|
4,279
|
void () { doTest(); }
|
testAddOverloadingConstructor
|
4,280
|
void () { doTest(); }
|
testAddVarargMethod
|
4,281
|
void () { doTest(); }
|
testReplaceMethodWithBridge
|
4,282
|
void () { doTest(); }
|
testPushFieldDown
|
4,283
|
boolean (@NotNull CharSequence fileName) { return Strings.endsWithIgnoreCase(fileName, myDotExtension); }
|
acceptsCharSequence
|
4,284
|
String () { return "*." + myExtension; }
|
getPresentableString
|
4,285
|
String () { return myExtension; }
|
getExtension
|
4,286
|
boolean (final Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; final ExtensionFileNameMatcher that = (ExtensionFileNameMatcher)o; return myExtension.equals(that.myExtension); }
|
equals
|
4,287
|
int () { return myExtension.hashCode(); }
|
hashCode
|
4,288
|
String () { return getPresentableString(); }
|
toString
|
4,289
|
boolean (@NotNull CharSequence fileName) { return StringUtil.equal(fileName, myFileName, !myIgnoreCase); }
|
acceptsCharSequence
|
4,290
|
String () { return myFileName; }
|
getPresentableString
|
4,291
|
String () { return myFileName; }
|
getFileName
|
4,292
|
boolean () { return myIgnoreCase; }
|
isIgnoreCase
|
4,293
|
boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; final ExactFileNameMatcher that = (ExactFileNameMatcher)o; if (!myFileName.equals(that.myFileName)) return false; return true; }
|
equals
|
4,294
|
int () { return myFileName.hashCode(); }
|
hashCode
|
4,295
|
String () { return getPresentableString(); }
|
toString
|
4,296
|
JpsDependencyResolverConfigurationService () { return JpsServiceManager.getInstance().getService(JpsDependencyResolverConfigurationService.class); }
|
getInstance
|
4,297
|
String (byte @NotNull [] bytes) { StringBuilder builder = new StringBuilder(bytes.length * 2); for (byte b : bytes) { builder.append(String.format("%02x", b)); } return builder.toString(); }
|
byteArrayToHexString
|
4,298
|
boolean (Set<File> ancestors, File file) { if (ancestors.isEmpty()) { return false; // optimization } File current = file; while (current != null) { if (ancestors.contains(current)) { return true; } current = FileUtilRt.getParentFile(current); } return false; }
|
isUnder
|
4,299
|
File (String url) { return new File(urlToOsPath(url)); }
|
urlToFile
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.