Class ELExecutors
java.lang.Object
io.micronaut.el.ELExecutors
The
ELMethodExecutor services of the classpath, which describe a method without reflecting.
The interpreter builds its own list, since a parser can be constructed with the executors it may use.
This is the list a compiled expression reaches, which has no parser: it is what lets
jakarta.el.MethodExpression report the metadata of a method it never invokes reflectively.
- Since:
- 1.1
- Author:
- Denis Stepanov
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable ELMethodresolve(jakarta.el.ELContext context, @Nullable Object base, @Nullable Object method, io.micronaut.core.type.Argument<?> @Nullable [] argumentTypes, Object @Nullable [] arguments) Resolves a method through the executors of the classpath.
-
Method Details
-
resolve
public static @Nullable ELMethod resolve(jakarta.el.ELContext context, @Nullable Object base, @Nullable Object method, io.micronaut.core.type.Argument<?> @Nullable [] argumentTypes, Object @Nullable [] arguments) Resolves a method through the executors of the classpath.- Parameters:
context- The contextbase- The base object, or anELClassmethod- The method nameargumentTypes- The parameter types declared by the expression, can benullarguments- The evaluated arguments, can benull- Returns:
- The method, or
nullwhen no executor describes it
-