Class ScalaBeanElementBuilderVisitor
java.lang.Object
io.micronaut.scala.processing.test.ScalaBeanElementBuilderVisitor
- All Implemented Interfaces:
io.micronaut.core.order.Ordered, io.micronaut.core.util.Toggleable, io.micronaut.inject.visitor.TypeElementVisitor<Object,Object>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBean used by generated AOP tests.static final recordSimple bean produced by builder tests.static final recordSimple bean produced by builder tests.static final recordSimple bean produced by builder tests.static final classProducer used by associated factory bean tests.static interfaceInterface produced by builder tests.static enumBean builder behavior to enable for a compilation.static final classProducer used by multiple factory bean tests.static final classBean with generated executable method metadata.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
Constructors -
Method Summary
Modifier and TypeMethodDescription@NonNull io.micronaut.inject.visitor.TypeElementVisitor.VisitorKindvoidvisitClass(io.micronaut.inject.ast.ClassElement element, io.micronaut.inject.visitor.VisitorContext context) static <T> TwithMode(ScalaBeanElementBuilderVisitor.Mode mode, Supplier<T> supplier) Executes a compilation with the given bean builder behavior enabled.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.core.order.Ordered
getOrderMethods inherited from interface io.micronaut.core.util.Toggleable
isEnabledMethods inherited from interface io.micronaut.inject.visitor.TypeElementVisitor
finish, getClassType, getElementType, getSupportedAnnotationNames, getSupportedOptions, query, start, visitConstructor, visitEnumConstant, visitField, visitMethod
-
Constructor Details
-
ScalaBeanElementBuilderVisitor
public ScalaBeanElementBuilderVisitor()
-
-
Method Details
-
withMode
Executes a compilation with the given bean builder behavior enabled.- Type Parameters:
T- The result type- Parameters:
mode- The modesupplier- The compilation work- Returns:
- The supplier result
-
visitClass
-
getVisitorKind
-