Class ReflectiveMethodELResolver
java.lang.Object
jakarta.el.ELResolver
io.micronaut.el.resolver.ReflectiveMethodELResolver
public final class ReflectiveMethodELResolver
extends jakarta.el.ELResolver
Invokes the methods of the types that have no bean introspection, reflectively, as
BeanELResolver
and StaticFieldELResolver do, with the method looked up through the cache of ELMethods:
the resolvers of the specification read Class.getMethods() on every invocation.
The resolver only invokes: the properties stay with the resolvers of the specification. It declines the bases the specification gives a resolver of their own for invocation, the streams and the optionals, and the constructors, so that those resolvers keep them.
- Since:
- 1.0
- Author:
- Denis Stepanov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable Class<?> getCommonPropertyType(jakarta.el.ELContext context, @Nullable Object base) @Nullable Class<?> @Nullable Object@Nullable Objectinvoke(jakarta.el.ELContext context, @Nullable Object base, @Nullable Object method, Class<?> @Nullable [] paramTypes, @Nullable Object[] params) booleanisReadOnly(jakarta.el.ELContext context, @Nullable Object base, @Nullable Object property) voidsetValue(jakarta.el.ELContext context, @Nullable Object base, @Nullable Object property, @Nullable Object value) Methods inherited from class jakarta.el.ELResolver
convertToType
-
Constructor Details
-
ReflectiveMethodELResolver
public ReflectiveMethodELResolver()
-
-
Method Details
-
invoke
-
getValue
-
getType
-
setValue
-
isReadOnly
-
getCommonPropertyType
-