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 CachedClassOBJECT_ARRAY_CLASSstatic CachedClassOBJECT_CLASS
-
Constructor Summary
Constructors Constructor Description ReflectionCache()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClassautoboxType(Class type)static CachedClassgetCachedClass(Class klazz)static StringgetMOPMethodName(CachedClass declaringClass, String name, boolean useThis)static booleanisArray(Class klazz)static booleanisAssignableFrom(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)
-
-