Package w.eventbus
Class AsmDispatchWriters
java.lang.Object
w.eventbus.AsmDispatchWriters
- Author:
- whilein
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull AsmDispatchWriterfromConsumer(@NotNull Consumer<?> consumer) Создать врайтер из консумера.static @NotNull AsmDispatchWriterfromMethod(@Nullable Object owner, @NotNull Method method) Создать врайтер из метода.
-
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:
- Врайтер
-