Annotation Interface PythonApplication


@Documented @Retention(RUNTIME) @Target(TYPE) @Internal public @interface PythonApplication
Annotation to enable Python AST processing within a Java annotation processor. This annotation allows inlining Python code or scanning directories for Python files that will be processed during compilation.
Since:
5.2.0
Author:
Micronaut
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Inline Python source code to process.
    Source paths containing Python files to process.
  • Element Details

    • code

      String code
      Inline Python source code to process.
      Returns:
      Inline Python source code.
      Default:
      ""
    • src

      String[] src
      Source paths containing Python files to process.
      Returns:
      Source paths containing Python files.
      Default:
      {""}