read abstract method

Object? read(
  1. EvaluationContext context,
  2. Object target,
  3. Object? index
)

The element at index of target; only called after canRead returned true. Other exceptions than a SpelEvaluationException are reported as exceptionDuringIndexRead (EL1083E).

Implementation

Object? read(EvaluationContext context, Object target, Object? index);