| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static <V> ValueConverter | |
| public static <V> V | |
| public static < a constraint on the class object to introspect V> ValueConverter | Returns: a converter method or constructorclass to introspect on clazz)Finds an appropriate value converter for the given class. |
| public static < constraint on the type of the objects yielded by the constructor T> T | Returns: the result of invoking the constructorconstructor to invoke constructor, Object... arguments to hand to the constructor args)Invokes the given constructor with the given arguments. |
| public static Object | |
| private static boolean | |
| private static RuntimeException | |
| private static <V> ValueConverter |
| Reflection | back to summary |
|---|---|
| private Reflection() | |
| constructorConverter | back to summary |
|---|---|
| private static <V> ValueConverter | |
| convertWith | back to summary |
|---|---|
public static <V> V convertWith(ValueConverter<V> converter, String raw)
| |
| findConverter | back to summary |
|---|---|
| public static <V> ValueConverter Finds an appropriate value converter for the given class.
| |
| instantiate | back to summary |
|---|---|
| public static <T> T instantiate(Constructor<T> constructor, Object... args) Invokes the given constructor with the given arguments.
| |
| invoke | back to summary |
|---|---|
| public static Object invoke(Method method, Object... args) Invokes the given static method with the given arguments.
| |
| meetsConverterRequirements | back to summary |
|---|---|
| private static boolean meetsConverterRequirements(Method method, Class<?> expectedReturnType) | |
| reflectionException | back to summary |
|---|---|
| private static RuntimeException reflectionException(Exception ex) | |
| valueOfConverter | back to summary |
|---|---|
| private static <V> ValueConverter | |