Package io.micronaut.inject.writer
Class BeanConfigurationWriter
java.lang.Object
io.micronaut.inject.writer.BeanConfigurationWriter
- All Implemented Interfaces:
ClassOutputWriter
Writes configuration classes for configuration packages using ASM.
- Since:
- 1.0
- Author:
- Graeme Rocher
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBeanConfigurationWriter
(String packageName, Element originatingElement, AnnotationMetadata annotationMetadata) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ClassWriterOutputVisitor classWriterOutputVisitor) Accept a ClassWriterOutputVisitor to write this writer to disk.
-
Field Details
-
CLASS_SUFFIX
Suffix for generated configuration classes.- See Also:
-
-
Constructor Details
-
BeanConfigurationWriter
public BeanConfigurationWriter(String packageName, Element originatingElement, AnnotationMetadata annotationMetadata) - Parameters:
packageName
- The package nameoriginatingElement
- The originating elementannotationMetadata
- The annotation metadata
-
-
Method Details
-
accept
Description copied from interface:ClassOutputWriter
Accept a ClassWriterOutputVisitor to write this writer to disk.- Specified by:
accept
in interfaceClassOutputWriter
- Parameters:
classWriterOutputVisitor
- TheClassWriterOutputVisitor
- Throws:
IOException
- if there is an error writing to disk
-