Interface ExtensibleExpressionEvaluationContext

All Superinterfaces:
ExpressionEvaluationContext
All Known Implementing Classes:
DefaultExpressionEvaluationContext

@Internal public interface ExtensibleExpressionEvaluationContext extends ExpressionEvaluationContext
Expression compilation context that can be extended with extra elements.
Since:
4.0.0
Author:
Sergey Gavrilov
  • Method Details

    • withThis

      Parameters:
      classElement - The type that represents this.
      Returns:
      extended context
    • extendWith

      Extends compilation context with method element. Compilation context can only include one method at the same time, so this method will return the context which will replace previous context method element if it was set.
      Parameters:
      methodElement - extending method
      Returns:
      extended context
    • extendWith

      Extends compilation context with class element. Compilation context can include multiple class elements at the same time.
      Parameters:
      classElement - extending class
      Returns:
      extended context