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.
-
-
Constructor Summary
Constructors Constructor Description ClassParameter(Class<? extends V> clazz, V val)
-
Method Summary
All Methods Static Methods Concrete Methods 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)
-
-
-
Method Detail
-
from
public static <V> ReflectionHelpers.ClassParameter<V> from(Class<? extends V> clazz, V val)
-
fromComponentLists
public static ReflectionHelpers.ClassParameter<?>[] fromComponentLists(Class<?>[] classes, Object[] values)
-
getClasses
public static Class<?>[] getClasses(ReflectionHelpers.ClassParameter<?>... classParameters)
-
getValues
public static Object[] getValues(ReflectionHelpers.ClassParameter<?>... classParameters)
-
-