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,36 @@
package retrofit2;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
/* loaded from: classes3.dex */
public final class Invocation {
private final List<?> arguments;
private final Method method;
public Invocation(Method method, List<?> list) {
this.method = method;
this.arguments = Collections.unmodifiableList(list);
}
public static Invocation of(Method method, List<?> list) {
Objects.requireNonNull(method, "method == null");
Objects.requireNonNull(list, "arguments == null");
return new Invocation(method, new ArrayList(list));
}
public List<?> arguments() {
return this.arguments;
}
public Method method() {
return this.method;
}
public String toString() {
return String.format("%s.%s() %s", this.method.getDeclaringClass().getName(), this.method.getName(), this.arguments);
}
}