Package io.micronaut.guice.processor
Class GuiceBeanVisitor
java.lang.Object
io.micronaut.guice.processor.GuiceBeanVisitor
- All Implemented Interfaces:
io.micronaut.core.order.Ordered
,io.micronaut.core.util.Toggleable
,io.micronaut.inject.visitor.TypeElementVisitor<Object,
Object>
public class GuiceBeanVisitor
extends Object
implements io.micronaut.inject.visitor.TypeElementVisitor<Object,Object>
Guice beans have a only 1 binding type. This visitor resolves that.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.inject.visitor.TypeElementVisitor
io.micronaut.inject.visitor.TypeElementVisitor.VisitorKind
-
Field Summary
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.micronaut.inject.visitor.TypeElementVisitor.VisitorKind
void
visitClass
(io.micronaut.inject.ast.ClassElement element, io.micronaut.inject.visitor.VisitorContext context) void
visitConstructor
(io.micronaut.inject.ast.ConstructorElement element, io.micronaut.inject.visitor.VisitorContext context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.core.order.Ordered
getOrder
Methods inherited from interface io.micronaut.core.util.Toggleable
isEnabled
Methods inherited from interface io.micronaut.inject.visitor.TypeElementVisitor
finish, getClassType, getElementType, getSupportedOptions, start, visitEnumConstant, visitField, visitMethod
-
Constructor Details
-
GuiceBeanVisitor
public GuiceBeanVisitor()
-
-
Method Details
-
getVisitorKind
public io.micronaut.inject.visitor.TypeElementVisitor.VisitorKind getVisitorKind() -
getSupportedAnnotationNames
-
visitConstructor
public void visitConstructor(io.micronaut.inject.ast.ConstructorElement element, io.micronaut.inject.visitor.VisitorContext context) -
visitClass
public void visitClass(io.micronaut.inject.ast.ClassElement element, io.micronaut.inject.visitor.VisitorContext context)
-