Package io.micronaut.inject.writer
Contains classes responsible for using ASM to write bean metadata to disk.
- Since:
- 1.0
-
Interface Summary Interface Description BeanClassWriter Extended version ofClassWriterOutputVisitor
for types that write beans.BeanDefinitionVisitor Interface forBeanDefinitionVisitor
implementations such asBeanDefinitionWriter
.ClassOutputWriter A component that accepts aClassWriterOutputVisitor
and writes classes to it.ClassWriterOutputVisitor Interface to be consumed by class writers allowing visiting file names and returning appropriate streams.DispatchWriter.DispatchTarget Dispatch target implementation writer.GeneratedFile A common interface to allow referencing a generated file in either Groovy or Java.OriginatingElements Interface for types that provide originating elements.ProxyingBeanDefinitionVisitor ExtendsBeanDefinitionVisitor
and adds access to the proxied type name. -
Class Summary Class Description AbstractAnnotationMetadataWriter Base class for types that also writeAnnotationMetadata
.AbstractBeanDefinitionBuilder Abstract implementation of theBeanElementBuilder
interface that should be implemented by downstream language specific implementations.AbstractClassFileWriter Abstract class that writes generated classes to disk and provides convenience methods for building classes.AbstractClassWriterOutputVisitor Abstract implementation of theClassWriterOutputVisitor
interface that deals with service descriptors in a common way across Java and Groovy.BeanConfigurationWriter Writes configuration classes for configuration packages using ASM.BeanDefinitionReferenceWriter Writes the bean definition class file to disk.BeanDefinitionWriter Responsible for buildingBeanDefinition
instances at compile time.BeanDefinitionWriter.MethodVisitData Data used when visiting method.DirectoryClassWriterOutputVisitor AClassWriterOutputVisitor
that writes to a target target directory.DispatchWriter Switch based dispatch writer.DispatchWriter.FieldGetDispatchTarget Field get dispatch target.DispatchWriter.FieldSetDispatchTarget Field set dispatch target.DispatchWriter.InterceptableMethodDispatchTarget Interceptable method invocation dispatch target.DispatchWriter.MethodDispatchTarget Method invocation dispatch target.ExecutableMethodsDefinitionWriter Writes out aExecutableMethodsDefinition
class.ExecutableMethodWriter Writes outExecutableMethod
implementations.StaticOriginatingElements Utility class for testing originating element generation.StringSwitchWriter String switch writer. -
Exception Summary Exception Description ClassGenerationException Thrown when an exception occurs during compilation due to a class generation error.