mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
annotation processors UI
This commit is contained in:
@@ -16,9 +16,14 @@
|
||||
|
||||
package com.intellij.compiler;
|
||||
|
||||
import com.intellij.openapi.module.Module;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.vfs.VirtualFile;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
public abstract class CompilerConfiguration {
|
||||
// need this flag for profiling purposes. In production code is always set to 'true'
|
||||
public static final boolean MAKE_ENABLED = true;
|
||||
@@ -35,4 +40,23 @@ public abstract class CompilerConfiguration {
|
||||
|
||||
public abstract void addResourceFilePattern(String namePattern) throws MalformedPatternException;
|
||||
|
||||
public abstract boolean isAnnotationProcessorsEnabled();
|
||||
|
||||
public abstract void setAnnotationProcessorsEnabled(boolean enableAnnotationProcessors);
|
||||
|
||||
public abstract boolean isObtainProcessorsFromClasspath();
|
||||
|
||||
public abstract void setObtainProcessorsFromClasspath(boolean obtainProcessorsFromClasspath);
|
||||
|
||||
public abstract String getProcessorPath();
|
||||
|
||||
public abstract void setProcessorsPath(String processorsPath);
|
||||
|
||||
public abstract Map<String, String> getAnnotationProcessorsMap();
|
||||
|
||||
public abstract void setAnnotationProcessorsMap(Map<String, String> map);
|
||||
|
||||
public abstract Set<Module> getExcludedModules();
|
||||
|
||||
public abstract void setExcludedModules(Collection<Module> modules);
|
||||
}
|
||||
@@ -15,11 +15,5 @@
|
||||
*/
|
||||
package com.intellij.openapi.compiler;
|
||||
|
||||
/**
|
||||
* A tag interface indicating that the compiler will instrument java sources.
|
||||
* This affects the order of compiler calls:
|
||||
* The sequence in which compilers are called:
|
||||
* SourceGeneratingCompiler -> SourceInstrumentingCompiler -> TranslatingCompiler -> ClassInstrumentingCompiler -> ClassPostProcessingCompiler -> Validator
|
||||
*/
|
||||
public interface SourceProcessingCompiler extends FileProcessingCompiler, IntermediateOutputCompiler {
|
||||
}
|
||||
Reference in New Issue
Block a user