Class InMemoryCompilerOutput
java.lang.Object
javax.tools.SimpleJavaFileObject
de.monochromata.cucumber.stepdefs.compiler.InMemoryCompilerOutput
- All Implemented Interfaces:
javax.tools.FileObject,javax.tools.JavaFileObject
public class InMemoryCompilerOutput
extends javax.tools.SimpleJavaFileObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface javax.tools.JavaFileObject
javax.tools.JavaFileObject.Kind -
Field Summary
Fields inherited from class javax.tools.SimpleJavaFileObject
kind, uri -
Constructor Summary
Constructors Constructor Description InMemoryCompilerOutput(java.lang.String typeName) -
Method Summary
Modifier and Type Method Description byte[]getClassData()java.io.OutputStreamopenOutputStream()protected static java.net.URIuri(java.lang.String typeName)Methods inherited from class javax.tools.SimpleJavaFileObject
delete, getAccessLevel, getCharContent, getKind, getLastModified, getName, getNestingKind, isNameCompatible, openInputStream, openReader, openWriter, toString, toUriMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
InMemoryCompilerOutput
public InMemoryCompilerOutput(java.lang.String typeName)
-
-
Method Details
-
uri
protected static java.net.URI uri(java.lang.String typeName) -
openOutputStream
public java.io.OutputStream openOutputStream() throws java.io.IOException- Specified by:
openOutputStreamin interfacejavax.tools.FileObject- Overrides:
openOutputStreamin classjavax.tools.SimpleJavaFileObject- Throws:
java.io.IOException
-
getClassData
public byte[] getClassData()
-