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

Method Subscriber

output/java_guava/1.4.19/Subscriber.java:62–68  ·  view source on GitHub ↗
(EventBus bus, Object target, Method method)

Source from the content-addressed store, hash-verified

60 /** Executor to use for dispatching events to this subscriber. */
61 private final Executor executor;
62 private Subscriber(EventBus bus, Object target, Method method) {
63 this.bus = bus;
64 this.target = checkNotNull(target);
65 this.method = method;
66 method.setAccessible(true);
67 this.executor = bus.executor();
68 }
69
70 /**
71 * 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