com.virjar.ratel.api.DexMakerProxyBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ratel-api Show documentation
Show all versions of ratel-api Show documentation
ratel api,used for developer on ratel system,an extension for xposed framewrok,ratel api compatable with original xposed framework
package com.virjar.ratel.api;
import java.io.IOException;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
public interface DexMakerProxyBuilder {
DexMakerProxyBuilder parentClassLoader(ClassLoader parent);
DexMakerProxyBuilder handler(InvocationHandler handler);
DexMakerProxyBuilder implementing(Class>... interfaces);
DexMakerProxyBuilder constructorArgValues(Object... constructorArgValues);
DexMakerProxyBuilder constructorArgTypes(Class>... constructorArgTypes);
DexMakerProxyBuilder onlyMethods(Method[] methods);
DexMakerProxyBuilder withSharedClassLoader();
DexMakerProxyBuilder markTrusted();
T build() throws IOException;
Class extends T> buildProxyClass() throws IOException;
}