Class DispatchWriter.InterceptableMethodDispatchTarget

java.lang.Object
io.micronaut.inject.writer.DispatchWriter.AbstractDispatchTarget
io.micronaut.inject.writer.DispatchWriter.InterceptableMethodDispatchTarget
All Implemented Interfaces:
DispatchWriter.DispatchTarget
Enclosing class:
DispatchWriter

@Internal public static final class DispatchWriter.InterceptableMethodDispatchTarget extends DispatchWriter.AbstractDispatchTarget
Interceptable method invocation dispatch target.
  • Method Details

    • supportsDispatchOne

      public boolean supportsDispatchOne()
      Returns:
      true if writer supports dispatch one.
    • supportsDispatchMulti

      public boolean supportsDispatchMulti()
      Returns:
      true if writer supports dispatch multi.
    • getDeclaringType

      public TypedElement getDeclaringType()
    • getMethodElement

      public MethodElement getMethodElement()
    • dispatch

      public io.micronaut.sourcegen.model.StatementDef dispatch(io.micronaut.sourcegen.model.ExpressionDef target, io.micronaut.sourcegen.model.ExpressionDef valuesArray)
      Description copied from class: DispatchWriter.AbstractDispatchTarget
      Implement dispatch.
      Specified by:
      dispatch in interface DispatchWriter.DispatchTarget
      Overrides:
      dispatch in class DispatchWriter.AbstractDispatchTarget
      Parameters:
      target - The target
      valuesArray - The values array
      Returns:
      The dispatch statement