| Package | Description |
|---|---|
| com.tridion.util |
| Modifier and Type | Method and Description |
|---|---|
static Object |
ReflectionUtil.invokePrivateMethod(Object o,
String methodName,
Object[] params)
Invoke private method of an object using reflection.
|
static Object |
ReflectionUtil.invokePrivateStaticMethod(Class c,
String methodName,
Object[] params)
Invoke static private method of an object using reflection.
|
static <T> T |
ReflectionUtil.loadClassInstance(String className,
Class<T> subType,
Object... classParams)
This methods returns an instance of the specified class and is of a given subtype.
|
static <T> T |
ReflectionUtil.loadClassInstanceWithType(String className,
Class<T> subType,
Class<?> classType,
Object classParam)
This methods returns an instance of the specified class and is of a given subtype.
|
static <T> T |
ReflectionUtil.loadClassInstanceWithTypes(String className,
Class<T> subType,
Class<?>[] constructorTypes,
Object... classParams)
This methods returns an instance of the specified class and is of a given subtype.
|
Copyright © 2017 SDL Group. All rights reserved.