public class ClassDeterministic
extends java.lang.Object
java.lang.Class methods, which return arrays in sorted order.| Modifier and Type | Method and Description |
|---|---|
static java.lang.annotation.Annotation[] |
getAnnotations(java.lang.Class<?> c)
Like
Class.getAnnotations(), but returns the methods in deterministic order. |
static java.lang.Class<?>[] |
getClasses(java.lang.Class<?> c)
Like
Class.getClasses(), but returns the classes in deterministic order. |
static java.lang.reflect.Constructor<?>[] |
getConstructors(java.lang.Class<?> c)
Like
Class.getConstructors(), but returns the methods in deterministic order. |
static java.lang.annotation.Annotation[] |
getDeclaredAnnotations(java.lang.Class<?> c)
Like
Class.getDeclaredAnnotations(), but returns the methods in deterministic order. |
static java.lang.Class<?>[] |
getDeclaredClasses(java.lang.Class<?> c)
Like
Class.getDeclaredClasses(), but returns the classes in deterministic order. |
static java.lang.reflect.Constructor<?>[] |
getDeclaredConstructors(java.lang.Class<?> c)
Like
Class.getDeclaredConstructors(), but returns the methods in deterministic order. |
static java.lang.reflect.Field[] |
getDeclaredFields(java.lang.Class<?> c)
Like
Class.getDeclaredFields(), but returns the methods in deterministic order. |
static java.lang.reflect.Method[] |
getDeclaredMethods(java.lang.Class<?> c)
Like
Class.getDeclaredMethods(), but returns the methods in deterministic order. |
static <T> T[] |
getEnumConstants(java.lang.Class<T> c)
Like
Class.getEnumConstants(), but returns the methods in deterministic order. |
static java.lang.reflect.Field[] |
getFields(java.lang.Class<?> c)
Like
Class.getFields(), but returns the methods in deterministic order. |
static java.lang.reflect.Method[] |
getMethods(java.lang.Class<?> c)
Like
Class.getMethods(), but returns the methods in deterministic order. |
public static java.lang.annotation.Annotation[] getAnnotations(java.lang.Class<?> c)
Class.getAnnotations(), but returns the methods in deterministic order.c - the Class whose annotations to returnpublic static java.lang.annotation.Annotation[] getDeclaredAnnotations(java.lang.Class<?> c)
Class.getDeclaredAnnotations(), but returns the methods in deterministic order.c - the Class whose declared annotations to returnpublic static java.lang.Class<?>[] getClasses(java.lang.Class<?> c)
Class.getClasses(), but returns the classes in deterministic order.c - the Class whose member classes to returnpublic static java.lang.Class<?>[] getDeclaredClasses(java.lang.Class<?> c)
Class.getDeclaredClasses(), but returns the classes in deterministic order.c - the Class whose declared member classes to returnpublic static <T> T[] getEnumConstants(java.lang.Class<T> c)
Class.getEnumConstants(), but returns the methods in deterministic order.T - the class's type parameterc - the Class whose enum constants to returnpublic static java.lang.reflect.Constructor<?>[] getConstructors(java.lang.Class<?> c)
Class.getConstructors(), but returns the methods in deterministic order.c - the Class whose constructors to returnpublic static java.lang.reflect.Constructor<?>[] getDeclaredConstructors(java.lang.Class<?> c)
Class.getDeclaredConstructors(), but returns the methods in deterministic order.c - the Class whose declared constructors to returnpublic static java.lang.reflect.Field[] getFields(java.lang.Class<?> c)
Class.getFields(), but returns the methods in deterministic order.c - the Class whose fields to returnpublic static java.lang.reflect.Field[] getDeclaredFields(java.lang.Class<?> c)
Class.getDeclaredFields(), but returns the methods in deterministic order.c - the Class whose declared fields to returnpublic static java.lang.reflect.Method[] getMethods(java.lang.Class<?> c)
Class.getMethods(), but returns the methods in deterministic order.c - the Class whose methods to returnpublic static java.lang.reflect.Method[] getDeclaredMethods(java.lang.Class<?> c)
Class.getDeclaredMethods(), but returns the methods in deterministic order.c - the Class whose declared methods to return