Class ELExecutors

java.lang.Object
io.micronaut.el.ELExecutors

@Internal public final class ELExecutors extends Object
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 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 context
      base - The base object, or an ELClass
      method - The method name
      argumentTypes - The parameter types declared by the expression, can be null
      arguments - The evaluated arguments, can be null
      Returns:
      The method, or null when no executor describes it