org.robolectric.internal.bytecode.Interceptor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sandbox Show documentation
Show all versions of sandbox Show documentation
An alternative Android testing framework.
package org.robolectric.internal.bytecode;
import java.lang.invoke.MethodHandle;
import java.lang.invoke.MethodType;
import javax.annotation.Nonnull;
import org.robolectric.util.Function;
import org.robolectric.util.ReflectionHelpers;
public abstract class Interceptor {
private MethodRef[] methodRefs;
public Interceptor(MethodRef... methodRefs) {
this.methodRefs = methodRefs;
}
public MethodRef[] getMethodRefs() {
return methodRefs;
}
abstract public Function