Class InMemoryOutputFileManager
java.lang.Object
javax.tools.ForwardingJavaFileManager<JavaFileManager>
de.monochromata.cucumber.stepdefs.compiler.InMemoryOutputFileManager
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable,JavaFileManager,OptionChecker
public class InMemoryOutputFileManager extends ForwardingJavaFileManager<JavaFileManager>
-
Nested Class Summary
Nested classes/interfaces inherited from interface javax.tools.JavaFileManager
JavaFileManager.Location -
Field Summary
Fields Modifier and Type Field Description Map<String,InMemoryCompilerOutput>outputsFields inherited from class javax.tools.ForwardingJavaFileManager
fileManager -
Constructor Summary
Constructors Constructor Description InMemoryOutputFileManager(JavaFileManager delegate) -
Method Summary
Modifier and Type Method Description JavaFileObjectgetJavaFileForOutput(JavaFileManager.Location location, String className, JavaFileObject.Kind kind, FileObject sibling)Methods inherited from class javax.tools.ForwardingJavaFileManager
close, contains, flush, getClassLoader, getFileForInput, getFileForOutput, getJavaFileForInput, getLocationForModule, getLocationForModule, getServiceLoader, handleOption, hasLocation, inferBinaryName, inferModuleName, isSameFile, isSupportedOption, list, listLocationsForModules
-
Field Details
-
outputs
-
-
Constructor Details
-
InMemoryOutputFileManager
-
-
Method Details
-
getJavaFileForOutput
public JavaFileObject getJavaFileForOutput(JavaFileManager.Location location, String className, JavaFileObject.Kind kind, FileObject sibling) throws IOException- Specified by:
getJavaFileForOutputin interfaceJavaFileManager- Overrides:
getJavaFileForOutputin classForwardingJavaFileManager<JavaFileManager>- Throws:
IOException
-