Package w.eventbus

Class AsmDispatchWriters

java.lang.Object
w.eventbus.AsmDispatchWriters

public class AsmDispatchWriters extends Object
Author:
whilein
  • Constructor Details

    • AsmDispatchWriters

      public AsmDispatchWriters()
  • Method Details

    • fromConsumer

      @NotNull public static @NotNull AsmDispatchWriter fromConsumer(@NotNull @NotNull Consumer<?> consumer)
      Создать врайтер из консумера.
      Parameters:
      consumer - Консумер
      Returns:
      Врайтер
    • fromMethod

      @NotNull public static @NotNull AsmDispatchWriter fromMethod(@Nullable @Nullable Object owner, @NotNull @NotNull Method method)
      Создать врайтер из метода.
      Parameters:
      owner - Владелец метода
      method - Метод
      Returns:
      Врайтер