@Internal public class DirectoryClassWriterOutputVisitor extends AbstractClassWriterOutputVisitor
ClassWriterOutputVisitor that writes to a target target directory.| Constructor and Description | 
|---|
DirectoryClassWriterOutputVisitor(java.io.File targetDir)  | 
| Modifier and Type | Method and Description | 
|---|---|
java.io.OutputStream | 
visitClass(java.lang.String classname,
          Element... originatingElements)
Visits a new class and returns the output stream with which should be written the bytes of the class to be
 generated. 
 | 
java.io.OutputStream | 
visitClass(java.lang.String classname,
          Element originatingElement)
Visits a new class and returns the output stream with which should be written the bytes of the class to be
 generated. 
 | 
java.util.Optional<GeneratedFile> | 
visitGeneratedFile(java.lang.String path)
Visit a file that will be generated within the generated sources directory. 
 | 
java.util.Optional<GeneratedFile> | 
visitMetaInfFile(java.lang.String path,
                Element... originatingElements)
Visit a file within the META-INF directory of the classes directory. 
 | 
finish, getServiceEntries, visitServiceDescriptor, writeServiceEntriesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvisitClass, visitMetaInfFile, visitServiceDescriptorpublic DirectoryClassWriterOutputVisitor(java.io.File targetDir)
targetDir - The target directorypublic java.io.OutputStream visitClass(java.lang.String classname,
                                       @Nullable
                                       Element originatingElement)
                                throws java.io.IOException
ClassWriterOutputVisitorclassname - the fully qualified classnameoriginatingElement - The originating elementjava.io.IOException - if an error occurs creating the output streampublic java.io.OutputStream visitClass(java.lang.String classname,
                                       Element... originatingElements)
                                throws java.io.IOException
ClassWriterOutputVisitor
 Note that this method should only be called from a TypeElementVisitor.VisitorKind.AGGREGATING visitor from within the TypeElementVisitor.finish(io.micronaut.inject.visitor.VisitorContext) method. If the file
classname - the fully qualified classnameoriginatingElements - The originating elementsjava.io.IOException - if an error occurs creating the output streampublic java.util.Optional<GeneratedFile> visitMetaInfFile(java.lang.String path, Element... originatingElements)
ClassWriterOutputVisitorpath - The path to the fileoriginatingElements - The originating elementspublic java.util.Optional<GeneratedFile> visitGeneratedFile(java.lang.String path)
ClassWriterOutputVisitorpath - The path