Annotation Interface AnnotationExpressionContext


@Target({ANNOTATION_TYPE,METHOD}) @Retention(CLASS) public @interface AnnotationExpressionContext
A meta annotation used to extend EvaluatedExpression context with specified type. Being an expression context means that expressions can reference methods and properties of this object directly with # prefix. This annotation allows to specify context that will only be scoped to this concrete annotation or annotation member.
Since:
4.0.0
Author:
Sergey Gavrilov, gkrocher
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • value

      Class<?> value
      Returns:
      The class that should be included in the context where expressions are evaluated.
    • className

      @AliasFor(member="value") String className
      Returns:
      The name of the class that should be included in the context where expressions are evaluated.
      Default:
      ""