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

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

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

import org.robolectric.sandbox.ShadowMatcher;
import org.robolectric.util.inject.AutoFactory;

/**
 * Factory interface for {@link ClassHandler}.
 *
 * To inject your own ClassHandler, annotate a subclass with {@link com.google.auto.service.AutoService}(ClassHandler).
 *
 * Robolectric's default ClassHandler is {@link ShadowWrangler}.
 */
@AutoFactory
public interface ClassHandlerBuilder {
  /** Builds a {@link ClassHandler instance}. */
  ClassHandler build(ShadowMap shadowMap, ShadowMatcher shadowMatcher, Interceptors interceptors);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy