-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the option to use an alternative compiler for compiling classes i…
…n JavaBuilder
- Loading branch information
1 parent
6eb38a2
commit 1f683a9
Showing
6 changed files
with
349 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
100 changes: 100 additions & 0 deletions
100
org.eclipse.jdt.core/model/org/eclipse/jdt/core/compiler/CompilerConfiguration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2024 Microsoft Corporation and others. | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License 2.0 | ||
* which accompanies this distribution, and is available at | ||
* https://www.eclipse.org/legal/epl-2.0/ | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* Microsoft Corporation - initial API and implementation | ||
*******************************************************************************/ | ||
|
||
package org.eclipse.jdt.core.compiler; | ||
|
||
import java.io.File; | ||
import java.util.List; | ||
import java.util.Map; | ||
|
||
import org.eclipse.jdt.internal.compiler.impl.CompilerOptions; | ||
|
||
/** | ||
* @since 3.38 | ||
*/ | ||
public class CompilerConfiguration { | ||
List<String> sourcepaths; | ||
List<String> moduleSourcepaths; | ||
List<String> classpaths; | ||
List<String> modulepaths; | ||
Map<File, File> sourceOutputMapping; | ||
CompilerOptions options; | ||
// Location to search for annotation processors. | ||
List<String> annotationProcessorPaths; | ||
// Locations to place generated source files. | ||
List<String> generatedSourcePaths; | ||
|
||
public List<String> getClasspaths() { | ||
return this.classpaths; | ||
} | ||
|
||
public void setClasspaths(List<String> classpaths) { | ||
this.classpaths = classpaths; | ||
} | ||
|
||
public List<String> getModulepaths() { | ||
return this.modulepaths; | ||
} | ||
|
||
public void setModulepaths(List<String> modulepaths) { | ||
this.modulepaths = modulepaths; | ||
} | ||
|
||
public List<String> getSourcepaths() { | ||
return this.sourcepaths; | ||
} | ||
|
||
public void setSourcepaths(List<String> sourcepaths) { | ||
this.sourcepaths = sourcepaths; | ||
} | ||
|
||
public List<String> getModuleSourcepaths() { | ||
return this.moduleSourcepaths; | ||
} | ||
|
||
public void setModuleSourcepaths(List<String> moduleSourcepaths) { | ||
this.moduleSourcepaths = moduleSourcepaths; | ||
} | ||
|
||
public Map<File, File> getSourceOutputMapping() { | ||
return this.sourceOutputMapping; | ||
} | ||
|
||
public void setSourceOutputMapping(Map<File, File> sourceOutputMapping) { | ||
this.sourceOutputMapping = sourceOutputMapping; | ||
} | ||
|
||
public CompilerOptions getOptions() { | ||
return this.options; | ||
} | ||
|
||
public void setOptions(CompilerOptions options) { | ||
this.options = options; | ||
} | ||
|
||
public List<String> getAnnotationProcessorPaths() { | ||
return this.annotationProcessorPaths; | ||
} | ||
|
||
public void setAnnotationProcessorPaths(List<String> annotationProcessorPaths) { | ||
this.annotationProcessorPaths = annotationProcessorPaths; | ||
} | ||
|
||
public List<String> getGeneratedSourcePaths() { | ||
return this.generatedSourcePaths; | ||
} | ||
|
||
public void setGeneratedSourcePaths(List<String> generatedSourcePaths) { | ||
this.generatedSourcePaths = generatedSourcePaths; | ||
} | ||
} |
Oops, something went wrong.