Annotation Interface Java


@Retention(RUNTIME) @Documented @Target({FIELD,METHOD,PARAMETER}) @LanguageAnnotation(language="java", factory=JavaAnnotationExpressionFactory.class) public @interface Java
Used to inject a Java (joor) expression into a field, property, method or parameter when using Bean Integration.
  • Required Element Summary

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

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Whether the expression should be pre compiled once during initialization phase.
    The desired return type.
    boolean
    Whether single quotes can be used as replacement for double quotes.
  • Element Details

    • value

      String value
    • preCompile

      boolean preCompile
      Whether the expression should be pre compiled once during initialization phase. If this is turned off, then the expression is reloaded and compiled on each evaluation.
      Default:
      true
    • singleQuotes

      boolean singleQuotes
      Whether single quotes can be used as replacement for double quotes. This is convenient when you need to work with strings inside strings.
      Default:
      true
    • resultType

      Class<?> resultType
      The desired return type.
      Default:
      java.lang.Object.class