Annotation Interface ELVariable


@Documented @Retention(RUNTIME) @Target({}) public @interface ELVariable
Declares the compilation time type of an expression variable.

A variable declared this way is looked up in the jakarta.el.ELContext at evaluation time, but every property access, method invocation and coercion applied to it is resolved statically, which removes the reflective jakarta.el.ELResolver lookups from the generated expression.

Since:
1.0
Author:
Denis Stepanov
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
     
  • Element Details

    • name

      String name
      Returns:
      The name of the variable as it appears in the expression
    • type

      Class<?> type
      Returns:
      The static type of the variable