Package org.codehaus.groovy.reflection
Class ReflectionCache
- java.lang.Object
-
- org.codehaus.groovy.reflection.ReflectionCache
-
public class ReflectionCache extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static CachedClass
OBJECT_ARRAY_CLASS
static CachedClass
OBJECT_CLASS
-
Constructor Summary
Constructors Constructor Description ReflectionCache()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Class
autoboxType(Class type)
static CachedClass
getCachedClass(Class klazz)
static String
getMOPMethodName(CachedClass declaringClass, String name, boolean useThis)
static boolean
isArray(Class klazz)
static boolean
isAssignableFrom(Class klazz, Class aClass)
-
-
-
Field Detail
-
OBJECT_CLASS
public static final CachedClass OBJECT_CLASS
-
OBJECT_ARRAY_CLASS
public static final CachedClass OBJECT_ARRAY_CLASS
-
-
Method Detail
-
getMOPMethodName
public static String getMOPMethodName(CachedClass declaringClass, String name, boolean useThis)
-
isArray
public static boolean isArray(Class klazz)
-
getCachedClass
public static CachedClass getCachedClass(Class klazz)
-
-