All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.robolectric.internal.bytecode.ClassHandler Maven / Gradle / Ivy

There is a newer version: 4.14.1
Show newest version
package org.robolectric.internal.bytecode;

import java.lang.invoke.MethodHandle;
import java.lang.invoke.MethodType;

public interface ClassHandler {
  void classInitializing(Class clazz);

  Object initializing(Object instance);

  Plan methodInvoked(String signature, boolean isStatic, Class theClass);

  MethodHandle getShadowCreator(Class caller);

  MethodHandle findShadowMethod(Class theClass, String name, MethodType type,
      boolean isStatic)
      throws IllegalAccessException;

  Object intercept(String signature, Object instance, Object[] params, Class theClass) throws Throwable;

   T stripStackTrace(T throwable);

  public interface Plan {
    Object run(Object instance, Object roboData, Object[] params) throws Throwable;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy