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.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.