Interface ExpressionWriter

All Known Implementing Classes:
AbstractStatementAwareExpressionWriter

public sealed interface ExpressionWriter permits AbstractStatementAwareExpressionWriter (not exhaustive)
The expression writer.
Since:
1.5
Author:
Denis Stepano
  • Method Details

    • of

      static ExpressionWriter of(ExpressionDef expressionDef)
      Create a writer from an expression.
      Parameters:
      expressionDef - The expression
      Returns:
      the writer
    • writeExpression

      static void writeExpression(org.objectweb.asm.commons.GeneratorAdapter generatorAdapter, MethodContext context, ExpressionDef expressionDef)
    • writeExpressionCheckCast

      static void writeExpressionCheckCast(org.objectweb.asm.commons.GeneratorAdapter generatorAdapter, MethodContext context, ExpressionDef expressionDef, TypeDef expectedType)
    • write

      void write(org.objectweb.asm.commons.GeneratorAdapter generatorAdapter, MethodContext context)
      Write the expression.
      Parameters:
      generatorAdapter - The adapter
      context - The method context