Package dev.frostlake.executor.udf
Class InMemoryJavaFileManager
java.lang.Object
javax.tools.ForwardingJavaFileManager<StandardJavaFileManager>
dev.frostlake.executor.udf.InMemoryJavaFileManager
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable,JavaFileManager,OptionChecker
In-memory file manager
-
Nested Class Summary
Nested classes/interfaces inherited from interface javax.tools.JavaFileManager
JavaFileManager.Location -
Field Summary
Fields inherited from class javax.tools.ForwardingJavaFileManager
fileManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getClassBytes(String className) getJavaFileForOutput(JavaFileManager.Location location, String className, JavaFileObject.Kind kind, FileObject sibling) Methods inherited from class javax.tools.ForwardingJavaFileManager
close, contains, flush, getClassLoader, getFileForInput, getFileForOutput, getFileForOutputForOriginatingFiles, getJavaFileForInput, getJavaFileForOutputForOriginatingFiles, getLocationForModule, getLocationForModule, getServiceLoader, handleOption, hasLocation, inferBinaryName, inferModuleName, isSameFile, isSupportedOption, list, listLocationsForModules
-
Constructor Details
-
InMemoryJavaFileManager
-
-
Method Details
-
getJavaFileForOutput
public JavaFileObject getJavaFileForOutput(JavaFileManager.Location location, String className, JavaFileObject.Kind kind, FileObject sibling) - Specified by:
getJavaFileForOutputin interfaceJavaFileManager- Overrides:
getJavaFileForOutputin classForwardingJavaFileManager<StandardJavaFileManager>
-
getClassBytes
-