Class StreamELResolver
java.lang.Object
jakarta.el.ELResolver
io.micronaut.el.resolver.StreamELResolver
- All Implemented Interfaces:
io.micronaut.core.order.Ordered, ELMethodExecutor
@Internal
public final class StreamELResolver
extends jakarta.el.ELResolver
implements ELMethodExecutor
The
ELResolver implementing the operations on collection objects described in the chapter 2 of
the Jakarta Expression Language specification.- Since:
- 1.0
- Author:
- Denis Stepanov
-
Field Summary
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable Class<?> getCommonPropertyType(jakarta.el.ELContext context, Object base) intgetOrder()Returns the executor order.@Nullable Class<?> @Nullable Object@Nullable Objectinvoke(jakarta.el.ELContext context, Object base, Object method, Class<?>[] paramTypes, Object[] params) booleanisReadOnly(jakarta.el.ELContext context, Object base, Object property) @Nullable ELMethodresolve(jakarta.el.ELContext context, @Nullable Object base, @Nullable Object method, io.micronaut.core.type.Argument<?> @Nullable [] argumentTypes, Object @Nullable [] params) Resolves an instance or static method, or a constructor represented by<init>.voidMethods inherited from class jakarta.el.ELResolver
convertToTypeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ELMethodExecutor
isReflective, resolveFunction
-
Constructor Details
-
StreamELResolver
public StreamELResolver()
-
-
Method Details
-
getOrder
public int getOrder()Description copied from interface:ELMethodExecutorReturns the executor order. Lower values run first, following the MicronautOrderedcontract, so direct/generated implementations can take precedence over a general fallback such as reflection.- Specified by:
getOrderin interfaceELMethodExecutor- Specified by:
getOrderin interfaceio.micronaut.core.order.Ordered- Returns:
- The order, zero by default
-
getValue
-
getType
-
setValue
-
isReadOnly
-
invoke
-
resolve
public @Nullable ELMethod resolve(jakarta.el.ELContext context, @Nullable Object base, @Nullable Object method, io.micronaut.core.type.Argument<?> @Nullable [] argumentTypes, Object @Nullable [] params) Description copied from interface:ELMethodExecutorResolves an instance or static method, or a constructor represented by<init>.- Specified by:
resolvein interfaceELMethodExecutor- Parameters:
context- The EL contextbase- The instance, or anELClassfor a static method or constructormethod- The method nameargumentTypes- The parameter types supplied when the method expression was created, ornullparams- The evaluated arguments, ornull- Returns:
- The resolved method, or
nullwhen this executor does not handle it
-
getCommonPropertyType
-