Initial import of ADIF API reverse-engineering toolkit

This commit is contained in:
2025-12-16 08:37:56 +01:00
commit 60388529c1
11486 changed files with 1086536 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
package com.google.firebase.events;
import com.google.firebase.components.Preconditions;
/* loaded from: classes3.dex */
public class Event<T> {
private final T payload;
private final Class<T> type;
public Event(Class<T> cls, T t2) {
this.type = (Class) Preconditions.checkNotNull(cls);
this.payload = (T) Preconditions.checkNotNull(t2);
}
public T getPayload() {
return this.payload;
}
public Class<T> getType() {
return this.type;
}
public String toString() {
return String.format("Event{type: %s, payload: %s}", this.type, this.payload);
}
}

View File

@@ -0,0 +1,6 @@
package com.google.firebase.events;
/* loaded from: classes3.dex */
public interface EventHandler<T> {
void handle(Event<T> event);
}

View File

@@ -0,0 +1,6 @@
package com.google.firebase.events;
/* loaded from: classes3.dex */
public interface Publisher {
void publish(Event<?> event);
}

View File

@@ -0,0 +1,12 @@
package com.google.firebase.events;
import java.util.concurrent.Executor;
/* loaded from: classes3.dex */
public interface Subscriber {
<T> void subscribe(Class<T> cls, EventHandler<? super T> eventHandler);
<T> void subscribe(Class<T> cls, Executor executor, EventHandler<? super T> eventHandler);
<T> void unsubscribe(Class<T> cls, EventHandler<? super T> eventHandler);
}