• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package org.robolectric.shadow.api;
2 
3 // TODO: move this to org.robolectric.annotation
4 public interface ShadowPicker<T> {
5 
6   /**
7    * Determines the shadow class to be used depending on the configuration of the {@link
8    * org.robolectric.internal.Environment}. Must be deterministic.
9    *
10    * @return the shadow class to be used
11    */
pickShadowClass()12   Class<? extends T> pickShadowClass();
13 }
14