public abstract class CompilerConfiguration
extends java.lang.Object
Constructor and Description |
---|
CompilerConfiguration() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addResourceFilePattern(java.lang.String namePattern) |
abstract java.util.List<java.lang.String> |
getAdditionalOptions(Module module)
Returns additional compiler options applicable to the given module, if any.
|
abstract AnnotationProcessingConfiguration |
getAnnotationProcessingConfiguration(Module module) |
abstract int |
getBuildProcessHeapSize(int javacPreferredHeapSize) |
abstract java.lang.String |
getBuildProcessVMOptions() |
abstract java.lang.String |
getBytecodeTargetLevel(Module module) |
abstract ExcludesConfiguration |
getExcludedEntriesConfiguration() |
static CompilerConfiguration |
getInstance(Project project) |
abstract java.lang.String |
getProjectBytecodeTarget() |
abstract boolean |
isAddNotNullAssertions() |
abstract boolean |
isAnnotationProcessorsEnabled()
Returns true if at least one enabled annotation processing profile exists.
|
abstract boolean |
isCompilableResourceFile(Project project,
VirtualFile file) |
abstract boolean |
isExcludedFromCompilation(VirtualFile virtualFile) |
abstract boolean |
isResourceFile(java.lang.String path) |
abstract boolean |
isResourceFile(VirtualFile virtualFile) |
abstract void |
setAdditionalOptions(Module module,
java.util.List<java.lang.String> options) |
abstract void |
setAddNotNullAssertions(boolean enabled) |
abstract void |
setBuildProcessHeapSize(int size) |
abstract void |
setBuildProcessVMOptions(java.lang.String options) |
abstract void |
setBytecodeTargetLevel(Module module,
java.lang.String level) |
abstract void |
setProjectBytecodeTarget(java.lang.String level) |
abstract void |
setUseReleaseOption(boolean useReleaseOption) |
abstract boolean |
useReleaseOption()
Specifies whether '--release' cross-compilation option should be used.
|
public static CompilerConfiguration getInstance(Project project)
public abstract int getBuildProcessHeapSize(int javacPreferredHeapSize)
public abstract void setBuildProcessHeapSize(int size)
public abstract java.lang.String getBuildProcessVMOptions()
public abstract void setBuildProcessVMOptions(java.lang.String options)
public abstract boolean useReleaseOption()
public abstract void setUseReleaseOption(boolean useReleaseOption)
public abstract java.lang.String getProjectBytecodeTarget()
public abstract void setProjectBytecodeTarget(java.lang.String level)
public abstract java.lang.String getBytecodeTargetLevel(Module module)
public abstract void setBytecodeTargetLevel(Module module, java.lang.String level)
public abstract java.util.List<java.lang.String> getAdditionalOptions(Module module)
public abstract void setAdditionalOptions(Module module, java.util.List<java.lang.String> options)
public abstract AnnotationProcessingConfiguration getAnnotationProcessingConfiguration(Module module)
public abstract boolean isAnnotationProcessorsEnabled()
public abstract boolean isExcludedFromCompilation(VirtualFile virtualFile)
public abstract boolean isResourceFile(VirtualFile virtualFile)
public abstract boolean isResourceFile(java.lang.String path)
public abstract boolean isCompilableResourceFile(Project project, VirtualFile file)
public abstract void addResourceFilePattern(java.lang.String namePattern) throws MalformedPatternException
MalformedPatternException
public abstract boolean isAddNotNullAssertions()
public abstract void setAddNotNullAssertions(boolean enabled)
public abstract ExcludesConfiguration getExcludedEntriesConfiguration()