public class CachedSAMClass extends CachedClass
CachedClass.CachedMethodComparatorByName, CachedClass.CachedMethodComparatorWithStringclassInfo, EMPTY_ARRAY, isArray, isInterface, isNumber, isPrimitive, modifiers, mopMethods| Constructor and Description | 
|---|
CachedSAMClass(Class klazz,
              ClassInfo classInfo)  | 
| Modifier and Type | Method and Description | 
|---|---|
Object | 
coerceArgument(Object argument)  | 
static Object | 
coerceToSAM(Closure argument,
           Method method,
           Class clazz,
           boolean isInterface)  | 
static Method | 
getSAMMethod(Class<?> c)
returns the abstract method from a SAM type, if it is a SAM type. 
 | 
boolean | 
isAssignableFrom(Class argument)  | 
addNewMopMethods, getCachedClass, getCachedSuperClass, getCallSiteLoader, getConstructors, getDeclaredInterfaces, getFields, getHierarchy, getInterfaces, getMethods, getModifiers, getName, getNewMetaMethods, getSuperClassDistance, getTheClass, getTypeDescription, hashCode, isDirectlyAssignable, isInterface, isPrimitive, isVoid, searchMethods, setNewMopMethods, toStringpublic boolean isAssignableFrom(Class argument)
isAssignableFrom in class CachedClasspublic static Object coerceToSAM(Closure argument, Method method, Class clazz, boolean isInterface)
public Object coerceArgument(Object argument)
coerceArgument in class CachedClass