Codota Logo
MethodParameterUtils
Code IndexAdd Codota to your IDE (free)

How to use
MethodParameterUtils
in
com.lody.virtual.client.hook.utils

Best Java code snippets using com.lody.virtual.client.hook.utils.MethodParameterUtils (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: android-hacker/VirtualXposed

public MethodInvocationStub(T baseInterface, Class<?>... proxyInterfaces) {
  this.mBaseInterface = baseInterface;
  if (baseInterface != null) {
    if (proxyInterfaces == null) {
      proxyInterfaces = MethodParameterUtils.getAllInterface(baseInterface.getClass());
    }
    mProxyInterface = (T) Proxy.newProxyInstance(baseInterface.getClass().getClassLoader(), proxyInterfaces, new HookInvocationHandler());
  } else {
    VLog.w(TAG, "Unable to build HookDelegate: %s.", getIdentityName());
  }
}
origin: android-hacker/VirtualXposed

public static Class<?>[] getAllInterface(Class clazz){
  HashSet<Class<?>> classes = new HashSet<>();
  getAllInterfaces(clazz,classes);
  Class<?>[] result=new Class[classes.size()];
  classes.toArray(result);
  return result;
}
origin: android-hacker/VirtualXposed

  @Override
  public Object call(Object who, Method method, Object... args) throws Throwable {
    MethodParameterUtils.replaceFirstAppPkg(args);
    return method.invoke(who, args);
  }
}
origin: android-hacker/VirtualXposed

  @Override
  public Object call(Object who, Method method, Object... args) throws Throwable {
    MethodParameterUtils.replaceLastAppPkg(args);
    return method.invoke(who, args);
  }
}
origin: android-hacker/VirtualXposed

  @Override
  public boolean beforeCall(Object who, Method method, Object... args) {
    MethodParameterUtils.replaceSequenceAppPkg(args, sequence);
    return super.beforeCall(who, method, args);
  }
}
origin: darkskygit/VirtualApp

  @Override
  public boolean beforeCall(Object who, Method method, Object... args) {
    MethodParameterUtils.replaceLastAppComponent(args);
    return super.beforeCall(who, method, args);
  }
}
origin: android-hacker/VirtualXposed

  @Override
  public boolean beforeCall(Object who, Method method, Object... args) {
    MethodParameterUtils.replaceLastAppPkg(args);
    return super.beforeCall(who, method, args);
  }
}
origin: bzsome/VirtualApp-x326

  @Override
  public boolean beforeCall(Object who, Method method, Object... args) {
    MethodParameterUtils.replaceSequenceAppPkg(args, sequence);
    return super.beforeCall(who, method, args);
  }
}
origin: android-hacker/VirtualXposed

@Override
public Object call(Object who, Method method, Object... args) throws Throwable {
  MethodParameterUtils.replaceFirstAppPkg(args);
  return method.invoke(who, args);
}
origin: android-hacker/VirtualXposed

@Override
public Object call(Object who, Method method, Object... args) throws Throwable {
  MethodParameterUtils.replaceLastAppPkg(args);
  Intent service = (Intent) args[0];
  String resolvedType = (String) args[1];
  return VActivityManager.get().peekService(service, resolvedType);
}
origin: android-hacker/VirtualXposed

public static void getAllInterfaces(Class clazz, HashSet<Class<?>> interfaceCollection) {
  Class<?>[] classes = clazz.getInterfaces();
  if (classes.length != 0) {
    interfaceCollection.addAll(Arrays.asList(classes));
  }
  if (clazz.getSuperclass() != Object.class) {
    getAllInterfaces(clazz.getSuperclass(), interfaceCollection);
  }
}
origin: darkskygit/VirtualApp

  @Override
  public boolean beforeCall(Object who, Method method, Object... args) {
    MethodParameterUtils.replaceSequenceAppPkg(args, sequence);
    return super.beforeCall(who, method, args);
  }
}
origin: bzsome/VirtualApp-x326

public MethodInvocationStub(T baseInterface, Class<?>... proxyInterfaces) {
  this.mBaseInterface = baseInterface;
  if (baseInterface != null) {
    if (proxyInterfaces == null) {
      proxyInterfaces = MethodParameterUtils.getAllInterface(baseInterface.getClass());
    }
    mProxyInterface = (T) Proxy.newProxyInstance(baseInterface.getClass().getClassLoader(), proxyInterfaces, new HookInvocationHandler());
  } else {
    VLog.d(TAG, "Unable to build HookDelegate: %s.", getIdentityName());
  }
}
origin: android-hacker/VirtualXposed

@Override
public Object call(Object who, Method method, Object... args) throws Throwable {
  MethodParameterUtils.replaceFirstAppPkg(args);
  return method.invoke(who, args);
}
origin: darkskygit/VirtualApp

  @Override
  public Object call(Object who, Method method, Object... args) throws Throwable {
    MethodParameterUtils.replaceLastAppPkg(args);
    return method.invoke(who, args);
  }
}
origin: darkskygit/VirtualApp

public static Class<?>[] getAllInterface(Class clazz){
  HashSet<Class<?>> classes = new HashSet<>();
  getAllInterfaces(clazz,classes);
  Class<?>[] result=new Class[classes.size()];
  classes.toArray(result);
  return result;
}
origin: darkskygit/VirtualApp

public MethodInvocationStub(T baseInterface, Class<?>... proxyInterfaces) {
  this.mBaseInterface = baseInterface;
  if (baseInterface != null) {
    if (proxyInterfaces == null) {
      proxyInterfaces = MethodParameterUtils.getAllInterface(baseInterface.getClass());
    }
    mProxyInterface = (T) Proxy.newProxyInstance(baseInterface.getClass().getClassLoader(), proxyInterfaces, new HookInvocationHandler());
  } else {
    VLog.w(TAG, "Unable to build HookDelegate: %s.", getIdentityName());
  }
}
origin: android-hacker/VirtualXposed

@Override
public Object call(Object who, Method method, Object... args) throws Throwable {
  MethodParameterUtils.replaceFirstAppPkg(args);
  return method.invoke(who, args);
}
origin: bzsome/VirtualApp-x326

  @Override
  public Object call(Object who, Method method, Object... args) throws Throwable {
    MethodParameterUtils.replaceLastAppPkg(args);
    return method.invoke(who, args);
  }
}
origin: bzsome/VirtualApp-x326

public static Class<?>[] getAllInterface(Class clazz){
  HashSet<Class<?>> classes = new HashSet<>();
  getAllInterfaces(clazz,classes);
  Class<?>[] result=new Class[classes.size()];
  classes.toArray(result);
  return result;
}
com.lody.virtual.client.hook.utilsMethodParameterUtils

Most used methods

  • getAllInterface
  • getAllInterfaces
  • replaceFirstAppPkg
  • replaceLastAppPkg
  • replaceSequenceAppPkg
  • replaceLastAppComponent

Popular in Java

  • Updating database using SQL prepared statement
  • requestLocationUpdates (LocationManager)
  • getContentResolver (Context)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Stack (java.util)
    The Stack class represents a last-in-first-out (LIFO) stack of objects. It extends class Vector with
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now