Class ProxyMaker

java.lang.Object
org.robolectric.internal.bytecode.ProxyMaker

@Deprecated
public class ProxyMaker
extends Object
Deprecated.
This is incompatible with JDK17+. Use a Reflector interface with Direct.
Defines proxy classes that can invoke methods names transformed with a ProxyMaker.MethodMapper. It is primarily used to invoke the original $$robo$$-prefixed methods, but it can technically support arbitrary naming schemes.
  • Constructor Details

    • ProxyMaker

      public ProxyMaker​(org.robolectric.internal.bytecode.ProxyMaker.MethodMapper methodMapper)
      Deprecated.
  • Method Details

    • createProxy

      public <T> T createProxy​(Class<T> targetClass, T target)
      Deprecated.