Package org.robolectric.util
Class ReflectionHelpers.ClassParameter<V>
java.lang.Object
org.robolectric.util.ReflectionHelpers.ClassParameter<V>
- Type Parameters:
V
- The value of the method parameter.
- Enclosing class:
- ReflectionHelpers
public static class ReflectionHelpers.ClassParameter<V> extends Object
Typed parameter used with reflective method calls.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ClassParameter(Class<? extends V> clazz, V val)
-
Method Summary
Modifier and Type Method Description static <V> ReflectionHelpers.ClassParameter<V>
from(Class<? extends V> clazz, V val)
static ReflectionHelpers.ClassParameter<?>[]
fromComponentLists(Class<?>[] classes, Object[] values)
static Class<?>[]
getClasses(ReflectionHelpers.ClassParameter<?>... classParameters)
static Object[]
getValues(ReflectionHelpers.ClassParameter<?>... classParameters)
-
Field Details
-
Constructor Details
-
Method Details
-
from
-
fromComponentLists
public static ReflectionHelpers.ClassParameter<?>[] fromComponentLists(Class<?>[] classes, Object[] values) -
getClasses
-
getValues
-