@API(status=INTERNAL)
public abstract class ReflectionSupportFacade
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static ReflectionSupportFacade |
implementation |
| Constructor and Description |
|---|
ReflectionSupportFacade() |
| Modifier and Type | Method and Description |
|---|---|
abstract <T> T |
newInstanceInTestContext(java.lang.Class<T> clazz,
java.lang.Object context)
Create instance of a class that can potentially be a non static inner class
and its outer instance might be
context |
abstract <T> T |
newInstanceWithDefaultConstructor(java.lang.Class<T> clazz)
Create instance of a class that can potentially be a non static inner class
|
public static final ReflectionSupportFacade implementation
public abstract <T> T newInstanceInTestContext(java.lang.Class<T> clazz,
java.lang.Object context)
contextT - The type of the instance to createclazz - The class to instantiatecontext - The potential context instancepublic abstract <T> T newInstanceWithDefaultConstructor(java.lang.Class<T> clazz)
T - The type of the instance to createclazz - The class to instantiate