public class CompilationTask
extends java.lang.Object
Constructor and Description |
---|
CompilationTask(java.util.List<RewritableClass> rewritableClasses)
Create a new CompilationTask instance which handles compiling the given list of rewritable classes.
|
Modifier and Type | Method and Description |
---|---|
java.util.Optional<DynamicJavaCode.CompileInformation> |
getCompileInformation(RewritingPermutator.ArgumentPermutation permutation)
Gets the compile information for the given permutation.
|
void |
initialize(RewritingPermutator permutator)
Initializes the task with the given permutator.
|
void |
removePermutation(RewritingPermutator.ArgumentPermutation permutation)
Removes the given permutation, marking it as not being necessary to compile.
|
public CompilationTask(java.util.List<RewritableClass> rewritableClasses)
rewritableClasses
- The list of rewritable classes to be compiled.public void initialize(RewritingPermutator permutator)
permutator
- The permutator where permutations are given.public void removePermutation(RewritingPermutator.ArgumentPermutation permutation)
permutation
- The permutation to remove.public java.util.Optional<DynamicJavaCode.CompileInformation> getCompileInformation(RewritingPermutator.ArgumentPermutation permutation)
permutation
- The permutation to get the compile information for.