| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| private static class | |
| public static class | ReflectionUtil.
Convenient Method access class |
| Modifier and Type | Field and Description |
|---|---|
| public static final boolean | |
| public static final boolean | |
| private static int | |
| private static final Object | |
| private static long | |
| private static final Map | |
| private static final Class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static final String | |
| public static final Object | Returns: the methods result, maybe null if voidmay be null in case of a static method instance, final Method the method to be called method, final Object... the method arguments args)
|
| public static final Object | callStaticMethod(final String clazzName, final String methodName, final Class<?>[] argTypes, final Object[] args, final ClassLoader cl)
|
| public static final Object | |
| public static final Object | |
| public static final Object | |
| public static final Object | createInstance(final String clazzName, final Class<?>[] cstrArgTypes, final Object[] cstrArgs, final ClassLoader cl)
|
| public static final Object | |
| public static final Object | |
| public static final Class | getClass(final String clazzName, final boolean initializeClazz, final ClassLoader cl)
Loads and returns the class or null. |
| private static Class | |
| public static final Constructor | getConstructor(final String clazzName, final Class<?>[] cstrArgTypes, final boolean
TODO initializeClazz, final ClassLoader cl)
|
| public static final Constructor | getConstructor(final Class<?> clazz, Class<?>... cstrArgTypes)
Returns a compatible constructor if available, otherwise throws an exception. |
| public static final Constructor | |
| public static StringBuilder | |
| public static final Method | |
| public static final Method | getMethod(final String clazzName, final String methodName, final Class<?>[] argTypes, final ClassLoader cl)
|
| public static final boolean | |
| public static final boolean | |
| public static final boolean | |
| public static final boolean | |
| public static boolean | |
| public static boolean | |
| public static final boolean | isClassAvailable(final String clazzName, final ClassLoader cl)
Returns true only if the class could be loaded. |
| public static void |
| DEBUG | back to summary |
|---|---|
| public static final boolean DEBUG | |
| DEBUG_STATS_FORNAME | back to summary |
|---|---|
| public static final boolean DEBUG_STATS_FORNAME | |
| forNameCount | back to summary |
|---|---|
| private static int forNameCount | |
| forNameLock | back to summary |
|---|---|
| private static final Object forNameLock | |
| forNameNanoCosts | back to summary |
|---|---|
| private static long forNameNanoCosts | |
| forNameStats | back to summary |
|---|---|
| private static final Map<String, ReflectionUtil. | |
| zeroTypes | back to summary |
|---|---|
| private static final Class<?>[] zeroTypes | |
| ReflectionUtil | back to summary |
|---|---|
| public ReflectionUtil() | |
| asString | back to summary |
|---|---|
| pack-priv static final String asString(final Class<?>[] argTypes) | |
| callMethod | back to summary |
|---|---|
public static final Object callMethod(final Object instance, final Method method, final Object... args) throws JogampRuntimeException, RuntimeException
| |
| callStaticMethod | back to summary |
|---|---|
public static final Object callStaticMethod(final String clazzName, final String methodName, final Class<?>[] argTypes, final Object[] args, final ClassLoader cl) throws JogampRuntimeException, RuntimeException
| |
| createInstance | back to summary |
|---|---|
public static final Object createInstance(final Constructor<?> cstr, final Object... cstrArgs) throws JogampRuntimeException, RuntimeException
| |
| createInstance | back to summary |
|---|---|
public static final Object createInstance(final Class<?> clazz, final Class<?>[] cstrArgTypes, final Object... cstrArgs) throws JogampRuntimeException, RuntimeException
| |
| createInstance | back to summary |
|---|---|
| public static final Object createInstance(final Class<?> clazz, final Object... cstrArgs) throws JogampRuntimeException, RuntimeException | |
| createInstance | back to summary |
|---|---|
| public static final Object createInstance(final String clazzName, final Class<?>[] cstrArgTypes, final Object[] cstrArgs, final ClassLoader cl) throws JogampRuntimeException, RuntimeException | |
| createInstance | back to summary |
|---|---|
| public static final Object createInstance(final String clazzName, final Object[] cstrArgs, final ClassLoader cl) throws JogampRuntimeException, RuntimeException | |
| createInstance | back to summary |
|---|---|
| public static final Object createInstance(final String clazzName, final ClassLoader cl) throws JogampRuntimeException, RuntimeException | |
| getClass | back to summary |
|---|---|
| public static final Class Loads and returns the class or null. | |
| getClassImpl | back to summary |
|---|---|
| private static Class | |
| getConstructor | back to summary |
|---|---|
public static final Constructor
| |
| getConstructor | back to summary |
|---|---|
| public static final Constructor Returns a compatible constructor if available, otherwise throws an exception.
It first attempts to get the specific Constructor
using the given
| |
| getConstructor | back to summary |
|---|---|
| public static final Constructor | |
| getForNameStats | back to summary |
|---|---|
| public static StringBuilder getForNameStats(StringBuilder sb) | |
| getMethod | back to summary |
|---|---|
public static final Method getMethod(final Class<?> clazz, final String methodName, final Class<?>... argTypes) throws JogampRuntimeException, RuntimeException
| |
| getMethod | back to summary |
|---|---|
public static final Method getMethod(final String clazzName, final String methodName, final Class<?>[] argTypes, final ClassLoader cl) throws JogampRuntimeException, RuntimeException
| |
| implementationOf | back to summary |
|---|---|
| public static final boolean implementationOf(final Object obj, final String faceName) | |
| implementationOf | back to summary |
|---|---|
| public static final boolean implementationOf(Class<?> clazz, final String faceName) | |
| instanceOf | back to summary |
|---|---|
| public static final boolean instanceOf(final Object obj, final String clazzName) | |
| instanceOf | back to summary |
|---|---|
| public static final boolean instanceOf(Class<?> clazz, final String clazzName) | |
| isAWTComponent | back to summary |
|---|---|
| public static boolean isAWTComponent(final Object target) | |
| isAWTComponent | back to summary |
|---|---|
| public static boolean isAWTComponent(final Class<?> clazz) | |
| isClassAvailable | back to summary |
|---|---|
| public static final boolean isClassAvailable(final String clazzName, final ClassLoader cl) Returns true only if the class could be loaded. | |
| resetForNameCount | back to summary |
|---|---|
| public static void resetForNameCount() | |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final String | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public |
| ComponentClass | back to summary |
|---|---|
| public static final String ComponentClass | |
| GraphicsEnvironmentClass | back to summary |
|---|---|
| public static final String GraphicsEnvironmentClass | |
| isHeadlessMethod | back to summary |
|---|---|
| public static final String isHeadlessMethod | |
| AWTNames | back to summary |
|---|---|
| public AWTNames() | |
| Modifier and Type | Field and Description |
|---|---|
| public int | |
| public final String | |
| public long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String |
| count | back to summary |
|---|---|
| public int count | |
| name | back to summary |
|---|---|
| public final String name | |
| nanoCosts | back to summary |
|---|---|
| public long nanoCosts | |
| ClassNameLookup | back to summary |
|---|---|
| public ClassNameLookup(final String name) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Access | Constructor and Description |
|---|---|
| public | MethodAccessor(final Class<?> clazz, final String methodName, final Class<?>... argTypes)
Check |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public Object | callMethod(final Object instance, final Object... args)
Check |
| m | back to summary |
|---|---|
| pack-priv Method m | |
| MethodAccessor | back to summary |
|---|---|
| public MethodAccessor(final Class<?> clazz, final String methodName, final Class<?>... argTypes) Check | |
| available | back to summary |
|---|---|
| public boolean available() Returns true if method is available, otherwise false. | |
| callMethod | back to summary |
|---|---|
| public Object callMethod(final Object instance, final Object... args) Check
| |