public class TypeUniverse extends Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
TypeUniverse.ConstantsUniverse |
static class |
TypeUniverse.ConstantValue |
class |
TypeUniverse.InnerClass |
static class |
TypeUniverse.InnerStaticClass |
static class |
TypeUniverse.InnerStaticFinalClass |
private class |
TypeUniverse.PrivateInnerClass |
protected class |
TypeUniverse.ProtectedInnerClass |
Modifier and Type | Field and Description |
---|---|
static Map<Class<?>,Class<?>> |
arrayClasses |
static Collection<Class<?>> |
classes |
static ConstantReflectionProvider |
constantReflection |
private static List<TypeUniverse.ConstantValue> |
constants |
static double |
JAVA_VERSION |
static Set<ResolvedJavaType> |
javaTypes |
static MetaAccessProvider |
metaAccess |
static sun.misc.Unsafe |
unsafe |
Constructor and Description |
---|
TypeUniverse() |
Modifier and Type | Method and Description |
---|---|
private static void |
addClass(Class<?> c) |
static List<TypeUniverse.ConstantValue> |
constants() |
static int |
dimensions(Class<?> c) |
Class<?> |
getArrayClass(Class<?> componentType) |
static List<TypeUniverse.ConstantValue> |
readConstants(Class<?> fromClass)
Reads the value of all
static final fields from a given class into an array of
TypeUniverse.ConstantValue s. |
public static final sun.misc.Unsafe unsafe
public static final double JAVA_VERSION
public static final MetaAccessProvider metaAccess
public static final ConstantReflectionProvider constantReflection
public static final Collection<Class<?>> classes
public static final Set<ResolvedJavaType> javaTypes
public static final Map<Class<?>,Class<?>> arrayClasses
private static List<TypeUniverse.ConstantValue> constants
public TypeUniverse()
public static List<TypeUniverse.ConstantValue> constants()
public static List<TypeUniverse.ConstantValue> readConstants(Class<?> fromClass)
static final
fields from a given class into an array of
TypeUniverse.ConstantValue
s.public Class<?> getArrayClass(Class<?> componentType)
public static int dimensions(Class<?> c)