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 ofClassWriterOutputVisitorfor types that write beans.BeanDefinitionVisitor Interface forBeanDefinitionVisitorimplementations such asBeanDefinitionWriter.ClassOutputWriter A component that accepts aClassWriterOutputVisitorand 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 ExtendsBeanDefinitionVisitorand adds access to the proxied type name. -
Class Summary Class Description AbstractAnnotationMetadataWriter Base class for types that also writeAnnotationMetadata.AbstractBeanDefinitionBuilder Abstract implementation of theBeanElementBuilderinterface 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 theClassWriterOutputVisitorinterface 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 buildingBeanDefinitioninstances at compile time.BeanDefinitionWriter.MethodVisitData Data used when visiting method.DirectoryClassWriterOutputVisitor AClassWriterOutputVisitorthat 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 aExecutableMethodsDefinitionclass.ExecutableMethodWriter Writes outExecutableMethodimplementations.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.