public class CompilerPaths
extends java.lang.Object
Constructor and Description |
---|
CompilerPaths() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getAnnotationProcessorsGenerationPath(Module module,
boolean forTests) |
static java.io.File |
getCacheStoreDirectory(Project project) |
static java.io.File |
getCompilerSystemDirectory(Project project) |
static java.io.File |
getGeneratedDataDirectory(Project project) |
static VirtualFile |
getModuleOutputDirectory(Module module,
boolean forTestClasses) |
static java.lang.String |
getModuleOutputPath(Module module,
boolean forTestClasses)
The same as
getModuleOutputDirectory(com.intellij.openapi.module.Module, boolean) but returns String. |
static java.lang.String [] |
getOutputPaths(Module [] modules) |
public static java.io.File getGeneratedDataDirectory(Project project)
public static java.io.File getCacheStoreDirectory(Project project)
public static java.io.File getCompilerSystemDirectory(Project project)
public static VirtualFile getModuleOutputDirectory(Module module, boolean forTestClasses)
forTestClasses
- true if directory for test sources, false - for sources.public static java.lang.String getModuleOutputPath(Module module, boolean forTestClasses)
getModuleOutputDirectory(com.intellij.openapi.module.Module, boolean)
but returns String.
The method still returns a non-null value if the output path is specified in Settings but does not exist on disk.public static java.lang.String getAnnotationProcessorsGenerationPath(Module module, boolean forTests)
public static java.lang.String [] getOutputPaths(Module [] modules)