public class ReflectUtils extends Object
Constructor and Description |
---|
ReflectUtils() |
Modifier and Type | Method and Description |
---|---|
static IAction |
createAction(String command,
PrintStream log) |
static Class<?> |
getCommandClass(String command) |
static boolean |
isActionInstantiated(IAction iAction)
Determines whether the specified
IAction is non-null therefore
has been instantiated via reflection. |
static String[] |
listPublishedCommands() |
static <T> T |
newInstance(Class<T> clazz) |
static String |
reflectGetter(Object object,
String name) |
static void |
reflectSetter(Object object,
String name,
Object value) |
public static String[] listPublishedCommands()
public static IAction createAction(String command, PrintStream log)
public static boolean isActionInstantiated(IAction iAction)
IAction
is non-null therefore
has been instantiated via reflection.iAction
- The IAction
public static <T> T newInstance(Class<T> clazz)
Copyright © 2016–2025. All rights reserved.