Package io.micronaut.inject.visitor
package io.micronaut.inject.visitor
Contains interfaces for defining type visitors that work across languages.
- Since:
- 1.0
- Author:
- graemerocher
-
ClassDescriptionBeanElementVisitor<A extends Annotation>Allows visiting a bean to perform any validation prior to when bean definitions are written out.Internal interface for adding associated beans.Exception is thrown when the visitor is attempted to create a new file but the originated element is postponed to the next round.TypeElementVisitor<C,
E> Provides a hook into the compilation process to allow user defined functionality to be created at compile time.Implementors of theTypeElementVisitor
interface should specify what kind of visitor it is.Allows supplying configuration to theVisitorContext
.Provides a way forTypeElementVisitor
classes to log messages during compilation and fail compilation.The languages that are supported in source code generation.