public interface StringCompilation
| Modifier and Type | Method and Description |
|---|---|
static <T> Class<T> |
compile(String className,
String source) |
static ClassLoader |
createClassLoader(JavaByteObject byteObject) |
static JavaFileManager |
createFileManager(StandardJavaFileManager fileManager,
JavaByteObject byteObject) |
static <T> Class<T> compile(String className, String source) throws URISyntaxException, IOException, ClassNotFoundException
T - The compiled class typesource - java source to compileURISyntaxException - if fails to compileIOException - if fails to compileClassNotFoundException - if fails to compilestatic JavaFileManager createFileManager(StandardJavaFileManager fileManager, JavaByteObject byteObject)
static ClassLoader createClassLoader(JavaByteObject byteObject)
Copyright © 2022. All rights reserved.