Interface DispatchWriter.DispatchTarget

All Known Implementing Classes:
DispatchWriter.FieldGetDispatchTarget, DispatchWriter.FieldSetDispatchTarget, DispatchWriter.InterceptableMethodDispatchTarget, DispatchWriter.MethodDispatchTarget
Enclosing class:
DispatchWriter

@Internal public static interface DispatchWriter.DispatchTarget
Dispatch target implementation writer.
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
     
    default boolean
     
    default void
    writeDispatchMulti(org.objectweb.asm.commons.GeneratorAdapter writer, int methodIndex)
    Generate dispatch multi.
    default void
    writeDispatchOne(org.objectweb.asm.commons.GeneratorAdapter writer)
    Generate dispatch one.
  • Method Details

    • supportsDispatchOne

      default boolean supportsDispatchOne()
      Returns:
      true if writer supports dispatch one.
    • writeDispatchOne

      default void writeDispatchOne(org.objectweb.asm.commons.GeneratorAdapter writer)
      Generate dispatch one.
      Parameters:
      writer - The writer
    • supportsDispatchMulti

      default boolean supportsDispatchMulti()
      Returns:
      true if writer supports dispatch multi.
    • writeDispatchMulti

      default void writeDispatchMulti(org.objectweb.asm.commons.GeneratorAdapter writer, int methodIndex)
      Generate dispatch multi.
      Parameters:
      writer - The writer
      methodIndex - The method index