com.google.errorprone.CompilationTestHelper to com.google.errorprone.BugCheckerRefactoringTestHelper
No. of Instances - 3
No. of Commits - 3
No. of Projects - {'error-prone'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
- Add or Remove Method invocation
- CompilationTestHelper.newInstance(WildcardImportTestChecker.class,getClass()) to BugCheckerRefactoringTestHelper.newInstance(new WildcardImport(),getClass())
- compilationHelper to testHelper.addInputLines("in/test/Test.java","package test;","import static java.nio.charset.StandardCharsets.*;","public class Test {"," void m() {"," System.err.println(UTF_8);"," }","}")
- compilationHelper to testHelper.addInputLines("in/test/Test.java","package test;","import java.util.*;","public class Test {"," java.util.Map.Entry<String, String> e;"," C c;"," static class C {}","}")
- compilationHelper to testHelper.addInputLines("in/test/Test.java","package test;","import java.*;","import java.util.*;","public class Test {"," void f(List c) {}","}")
- compilationHelper to testHelper.addInputLines("in/test/Test.java","package test;","import java.util.*;","public class Test {"," Map.Entry<String, String> e;"," C c;"," static class C {}","}")
- compilationHelper to testHelper.addInputLines("in/test/Test.java","package test;","import java.util.Map.*;","public class Test {"," Entry<String, String> e;"," C c;"," static class C {}","}")
- compilationHelper to testHelper.addInputLines("in/test/Test.java","package test;","public class Test {"," String s;","}")
- compilationHelper to testHelper.addInputLines("in/test/Test.java","package test;","import java.util.*;","public class Test {"," Test s;","}")
- compilationHelper to testHelper.addInputLines("in/test/Test.java","package test;","import test.Test.Inner.*;","public class Test {"," public static class Inner {"," private static class InnerMost {"," InnerMost i;"," }"," }","}")
- compilationHelper to testHelper.addInputLines("in/test/Test.java","package test;","import java.util.*;","public class Test {"," public static class Inner {"," Inner t;"," }","}")
- compilationHelper to testHelper.addInputLines("in/test/Test.java","package test;","import java.util.Map;","public class Test {"," Map.Entry<String, String> e;"," C c;"," private static class C {}","}")
- CompilationTestHelper.newInstance(RemoveUnusedImports.class,getClass()) to BugCheckerRefactoringTestHelper.newInstance(new RemoveUnusedImports(),getClass())
- compilationHelper to testHelper.addInputLines("in/Test.java","import java.util.Map;","/** @see Map */","public class Test {}")
- CompilationTestHelper.newInstance(UseBinds.class,getClass()) to BugCheckerRefactoringTestHelper.newInstance(new UseBinds(),getClass())
- compilationHelper to testHelper.addInputLines("in/Test.java","import java.security.SecureRandom;","import java.util.Random;","@" + moduleAnnotation,"class Test {"," @" + bindingMethodAnnotation," static Random provideRandom(SecureRandom impl) {"," return impl;"," }","}")
- compilationHelper to testHelper.addInputLines("in/Test.java","import java.security.SecureRandom;","import java.util.Random;","@" + moduleAnnotation,"class Test {"," @" + bindingMethodAnnotation," Random provideRandom(SecureRandom impl) {"," return impl;"," }","}")
- compilationHelper to testHelper.addInputLines("in/Test.java","import java.security.SecureRandom;","import java.util.Random;","@" + moduleAnnotation,"class Test {"," @" + bindingMethodAnnotation," Random provideRandom(SecureRandom impl) {"," return impl;"," }"," @" + bindingMethodAnnotation," Object provideRandomObject(SecureRandom impl) {"," return impl;"," }","}")
- compilationHelper to testHelper.addInputLines("in/Test.java","import java.security.SecureRandom;","import java.util.Random;","@" + moduleAnnotation,"class Test {"," @" + bindingMethodAnnotation," Random provideRandom(SecureRandom impl) {"," return impl;"," }"," @" + bindingMethodAnnotation," SecureRandom provideSecureRandom() {"," return new SecureRandom();"," }","}")
- compilationHelper to testHelper.addInputLines("in/Test.java","import java.security.SecureRandom;","import java.util.Random;","@" + moduleAnnotation,"class Test {"," @" + bindingMethodAnnotation," Random provideRandom(SecureRandom impl) {"," return impl;"," }"," @" + bindingMethodAnnotation," static SecureRandom provideRandom() {"," return new SecureRandom();"," }","}")
- compilationHelper to testHelper.addInputLines("in/Test.java","import java.util.Random;","@" + moduleAnnotation,"class Test {"," @" + bindingMethodAnnotation," Random provideRandom() {"," return new Random();"," }","}")
- Rename Variable
- compilationHelper to testHelper
- compilationHelper to testHelper
- compilationHelper to testHelper
- compilationHelper to testHelper
- compilationHelper to testHelper
- compilationHelper to testHelper
- compilationHelper to testHelper
- compilationHelper to testHelper
- compilationHelper to testHelper
- compilationHelper to testHelper
- compilationHelper to testHelper
- compilationHelper to testHelper
- compilationHelper to testHelper
- compilationHelper to testHelper
- compilationHelper to testHelper
- compilationHelper to testHelper
- compilationHelper to testHelper
- compilationHelper to testHelper
- compilationHelper to testHelper
- compilationHelper to testHelper