MCPcopy Create free account
hub / github.com/antlr/codebuff / Subscriber

Method Subscriber

corpus/java/training/guava/eventbus/Subscriber.java:60–67  ·  view source on GitHub ↗
(EventBus bus, Object target, Method method)

Source from the content-addressed store, hash-verified

58 private final Executor executor;
59
60 private Subscriber(EventBus bus, Object target, Method method) {
61 this.bus = bus;
62 this.target = checkNotNull(target);
63 this.method = method;
64 method.setAccessible(true);
65
66 this.executor = bus.executor();
67 }
68
69 /**
70 * Dispatches {@code event} to this subscriber using the proper executor.

Callers

nothing calls this directly

Calls 3

checkNotNullMethod · 0.45
setAccessibleMethod · 0.45
executorMethod · 0.45

Tested by

no test coverage detected