Class ExpressionSourceWriter

java.lang.Object
io.micronaut.el.processor.writer.ExpressionSourceWriter

@Internal public final class ExpressionSourceWriter extends Object
The writer of the ELExpressionSource implementations, which give access to the expressions compiled for a type.
Since:
1.0
Author:
Denis Stepanov
  • Method Details

    • write

      public static io.micronaut.sourcegen.model.ClassDef write(String className, List<ExpressionSourceWriter.CompiledValue> valueExpressions, List<ExpressionSourceWriter.CompiledMethod> methodExpressions)
      Writes the source of the expressions compiled for a type.
      Parameters:
      className - The name of the generated class
      valueExpressions - The compiled value expressions
      methodExpressions - The compiled method expressions
      Returns:
      The definition of the generated class