Class ElementMethodCall

Direct Known Subclasses:
PropertyAccess

@Internal public sealed class ElementMethodCall extends AbstractMethodCall permits PropertyAccess
Expression AST node used for method invocation. This node represents both object method invocation and static method invocation
Since:
4.0.0
Author:
Sergey Gavrilov
  • Field Details

  • Constructor Details

  • Method Details

    • isNullSafe

      protected boolean isNullSafe()
      Returns:
      Is the method call null safe
    • generateExpression

      protected io.micronaut.sourcegen.model.ExpressionDef generateExpression(ExpressionCompilationContext ctx)
      Description copied from class: ExpressionNode
      Generates bytecode for this AST node.
      Specified by:
      generateExpression in class ExpressionNode
      Parameters:
      ctx - expression compilation context
      Returns:
      The expression definition