6767 * Khatchadourian</a>
6868 */
6969@ SuppressWarnings ({ "restriction" })
70- public class ConvertToParallelStreamRefactoringProcessor extends RefactoringProcessor {
71-
72- // private Set<IMethod> unmigratableMethods = new
73- // UnmigratableMethodSet(sourceMethods);
70+ public class OptimizeStreamsRefactoringProcessor extends RefactoringProcessor {
7471
7572 /**
7673 * The minimum logging level, one of the constants in
@@ -91,7 +88,7 @@ protected static int getLoggingLevel() {
9188
9289 private static void log (int severity , String message ) {
9390 if (severity >= getLoggingLevel ()) {
94- String name = FrameworkUtil .getBundle (ConvertToParallelStreamRefactoringProcessor .class ).getSymbolicName ();
91+ String name = FrameworkUtil .getBundle (OptimizeStreamsRefactoringProcessor .class ).getSymbolicName ();
9592 IStatus status = new Status (severity , name , message );
9693 JavaPlugin .log (status );
9794 }
@@ -151,16 +148,16 @@ public static void setLoggingLevel(int level) {
151148
152149 private boolean useImplicitTestEntrypoints = false ;
153150
154- public ConvertToParallelStreamRefactoringProcessor () throws JavaModelException {
151+ public OptimizeStreamsRefactoringProcessor () throws JavaModelException {
155152 this (null , null , false , true , false , false , false , Optional .empty ());
156153 }
157154
158- public ConvertToParallelStreamRefactoringProcessor (final CodeGenerationSettings settings ,
155+ public OptimizeStreamsRefactoringProcessor (final CodeGenerationSettings settings ,
159156 Optional <IProgressMonitor > monitor ) throws JavaModelException {
160157 this (null , settings , false , true , false , false , false , monitor );
161158 }
162159
163- public ConvertToParallelStreamRefactoringProcessor (IJavaProject [] javaProjects ,
160+ public OptimizeStreamsRefactoringProcessor (IJavaProject [] javaProjects ,
164161 final CodeGenerationSettings settings , boolean layer , boolean useImplicitEntrypoints ,
165162 boolean useImplicitTestEntrypoints , boolean useImplicitBenchmarkEntrypoints ,
166163 boolean useImplicitJavaFXEntrypoints , Optional <IProgressMonitor > monitor ) throws JavaModelException {
@@ -177,7 +174,7 @@ public ConvertToParallelStreamRefactoringProcessor(IJavaProject[] javaProjects,
177174 }
178175 }
179176
180- public ConvertToParallelStreamRefactoringProcessor (IJavaProject [] javaProjects ,
177+ public OptimizeStreamsRefactoringProcessor (IJavaProject [] javaProjects ,
181178 final CodeGenerationSettings settings , boolean layer , int nForStreams , boolean useImplicitEntrypoints ,
182179 boolean useImplicitTestEntrypoints , boolean useImplicitBenchmarkEntrypoints ,
183180 boolean useImplicitJavaFXEntrypoints , Optional <IProgressMonitor > monitor ) throws JavaModelException {
@@ -186,24 +183,24 @@ public ConvertToParallelStreamRefactoringProcessor(IJavaProject[] javaProjects,
186183 this .nForStreams = nForStreams ;
187184 }
188185
189- public ConvertToParallelStreamRefactoringProcessor (IJavaProject [] javaProjects ,
186+ public OptimizeStreamsRefactoringProcessor (IJavaProject [] javaProjects ,
190187 final CodeGenerationSettings settings , boolean useImplicitJoinpoints , Optional <IProgressMonitor > monitor )
191188 throws JavaModelException {
192189 this (javaProjects , settings , false , useImplicitJoinpoints , false , false , false , monitor );
193190 }
194191
195- public ConvertToParallelStreamRefactoringProcessor (IJavaProject [] javaProjects ,
192+ public OptimizeStreamsRefactoringProcessor (IJavaProject [] javaProjects ,
196193 final CodeGenerationSettings settings , int nForStreams , boolean useImplicitJoinpoints ,
197194 Optional <IProgressMonitor > monitor ) throws JavaModelException {
198195 this (javaProjects , settings , false , nForStreams , useImplicitJoinpoints , false , false , false , monitor );
199196 }
200197
201- public ConvertToParallelStreamRefactoringProcessor (IJavaProject [] javaProjects ,
198+ public OptimizeStreamsRefactoringProcessor (IJavaProject [] javaProjects ,
202199 final CodeGenerationSettings settings , Optional <IProgressMonitor > monitor ) throws JavaModelException {
203200 this (javaProjects , settings , false , true , false , false , false , monitor );
204201 }
205202
206- public ConvertToParallelStreamRefactoringProcessor (Optional <IProgressMonitor > monitor ) throws JavaModelException {
203+ public OptimizeStreamsRefactoringProcessor (Optional <IProgressMonitor > monitor ) throws JavaModelException {
207204 this (null , null , false , true , false , false , false , monitor );
208205 }
209206
0 commit comments