Package editor.shipit
Class ExperimentBuild
- java.lang.Object
-
- editor.shipit.ExperimentBuild
-
public class ExperimentBuild extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<CompiledClass>_compiledClassesNoErrorsprivate java.util.Set<IType>_errantTypesprivate FileChangeFinder_fileChangeFinderprivate static ExperimentBuildINSTANCE
-
Constructor Summary
Constructors Constructor Description ExperimentBuild(boolean rebuild)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private booleanbuild(ICompileConsumer consumer, java.util.Set sources, boolean incremental)private ICompileConsumerchainForDebugging(ICompileConsumer consumer)private ICompileConsumerchainForNotDebugging(ICompileConsumer consumer)private voidcleanCompileOutput()booleancompile(ICompileConsumer consumer, java.util.Set<IType> typesToCompile)private voidcopySourceFileToOutputDir(java.nio.file.Path outputPath, FileTree ft)private voidcopySources()private java.util.Set<IType>findTypesToCompile()private voidfullCompileSources(java.util.Collection<FileTree> sources, ICompileConsumer consumer, MessagesPanel messages, boolean[] bRes, boolean[] bFinished, Compiler compiler, IProgressCallback progress)private DebuggergetDebugger()private voidincrementalCompileSources(java.util.Collection<IType> sources, ICompileConsumer consumer, MessagesPanel messages, boolean[] bRes, boolean[] bFinished, Compiler compiler, IProgressCallback progress)static ExperimentBuildinstance()booleanmake(ICompileConsumer consumer)booleanrebuild(ICompileConsumer consumer)private voidredefineClassInDebugger()
-
-
-
Field Detail
-
INSTANCE
private static ExperimentBuild INSTANCE
-
_fileChangeFinder
private final FileChangeFinder _fileChangeFinder
-
_compiledClassesNoErrors
private java.util.List<CompiledClass> _compiledClassesNoErrors
-
_errantTypes
private java.util.Set<IType> _errantTypes
-
-
Method Detail
-
instance
public static ExperimentBuild instance()
-
make
public boolean make(ICompileConsumer consumer)
-
compile
public boolean compile(ICompileConsumer consumer, java.util.Set<IType> typesToCompile)
-
rebuild
public boolean rebuild(ICompileConsumer consumer)
-
copySources
private void copySources()
-
cleanCompileOutput
private void cleanCompileOutput()
-
findTypesToCompile
private java.util.Set<IType> findTypesToCompile()
-
copySourceFileToOutputDir
private void copySourceFileToOutputDir(java.nio.file.Path outputPath, FileTree ft)
-
getDebugger
private Debugger getDebugger()
-
chainForDebugging
private ICompileConsumer chainForDebugging(ICompileConsumer consumer)
-
chainForNotDebugging
private ICompileConsumer chainForNotDebugging(ICompileConsumer consumer)
-
build
private boolean build(ICompileConsumer consumer, java.util.Set sources, boolean incremental)
-
fullCompileSources
private void fullCompileSources(java.util.Collection<FileTree> sources, ICompileConsumer consumer, MessagesPanel messages, boolean[] bRes, boolean[] bFinished, Compiler compiler, IProgressCallback progress)
-
incrementalCompileSources
private void incrementalCompileSources(java.util.Collection<IType> sources, ICompileConsumer consumer, MessagesPanel messages, boolean[] bRes, boolean[] bFinished, Compiler compiler, IProgressCallback progress)
-
redefineClassInDebugger
private void redefineClassInDebugger()
-
-