Class ScalaExpressionContextRegistrar
java.lang.Object
io.micronaut.scala.processing.test.ScalaExpressionContextRegistrar
- All Implemented Interfaces:
io.micronaut.core.order.Ordered, io.micronaut.core.util.Toggleable, io.micronaut.inject.visitor.TypeElementVisitor<Object,Object>
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescription@NonNull io.micronaut.inject.visitor.TypeElementVisitor.VisitorKindvoidstart(io.micronaut.inject.visitor.VisitorContext visitorContext) static <T> TwithContextClasses(List<String> contextClasses, Supplier<T> supplier) Executes a compilation with the given expression context classes registered.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, visitClass, visitConstructor, visitEnumConstant, visitField, visitMethod
-
Constructor Details
-
ScalaExpressionContextRegistrar
public ScalaExpressionContextRegistrar()
-
-
Method Details
-
withContextClasses
Executes a compilation with the given expression context classes registered.- Type Parameters:
T- The result type- Parameters:
contextClasses- The context class namessupplier- The compilation work- Returns:
- The supplier result
-
start
-
getVisitorKind
-