public abstract class Reflections extends Object
| Constructor and Description |
|---|
Reflections() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
get(Object object,
Class<?> type,
String name) |
static Constructor<?> |
getConstructor(ClassLoader classLoader,
Class<?> type,
Class<?> parameters) |
static Method |
getMethod(Class<?> type,
String name,
Class... parameters) |
static Object |
invoke(Object object,
Method method,
Object... arguments) |
static Class<?> |
loadClass(ClassLoader classLoader,
Class<?> type) |
static Object |
newInstance(ClassLoader classLoader,
Class<?> type) |
static Object |
newInstance(Constructor<?> constructor,
Object... arguments) |
public static Class<?> loadClass(ClassLoader classLoader, Class<?> type)
public static Object newInstance(ClassLoader classLoader, Class<?> type)
public static Object newInstance(Constructor<?> constructor, Object... arguments)
public static Constructor<?> getConstructor(ClassLoader classLoader, Class<?> type, Class<?> parameters)
Copyright © 2005–2016 GraphWalker. All rights reserved.