public class CompilableClass
extends java.lang.Object
Constructor and Description |
---|
CompilableClass(DynamicJavaCode.FullClassName className,
java.lang.String originalCode,
org.eclipse.jdt.core.dom.rewrite.ASTRewrite rewrite) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.lang.String |
getCode() |
(package private) java.lang.String |
getCodeWithCounters() |
(package private) DynamicJavaCode.CompileInformation |
getCompileInformation() |
DynamicJavaCode.FullClassName |
getFullClassName() |
(package private) boolean |
isStoredInFile() |
(package private) void |
setCompileInformation(DynamicJavaCode.CompileInformation compileInformation) |
(package private) java.nio.file.Path |
storeInFile(java.nio.file.Path rootDirectory) |
public CompilableClass(DynamicJavaCode.FullClassName className, java.lang.String originalCode, org.eclipse.jdt.core.dom.rewrite.ASTRewrite rewrite)
java.lang.String getCodeWithCounters()
public java.lang.String getCode()
public DynamicJavaCode.FullClassName getFullClassName()
public void close()
boolean isStoredInFile()
java.nio.file.Path storeInFile(java.nio.file.Path rootDirectory)
DynamicJavaCode.CompileInformation getCompileInformation()
void setCompileInformation(DynamicJavaCode.CompileInformation compileInformation)