Fields inherited from class | Fields |
---|---|
class CachedClass |
EMPTY_ARRAY, classInfo, isArray, isInterface, isNumber, isPrimitive, modifiers, mopMethods |
Constructor and description |
---|
CachedSAMClass
(Class klazz, ClassInfo classInfo) |
Type Params | Return Type | Name and description |
---|---|---|
|
Object |
coerceArgument(Object argument) |
|
static Object |
coerceToSAM(Closure argument, Method method, Class clazz) |
|
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) |
Methods inherited from class | Name |
---|---|
class CachedClass |
addNewMopMethods, coerceArgument, getCachedClass, getCachedSuperClass, getCallSiteLoader, getConstructors, getDeclaredInterfaces, getFields, getHierarchy, getInterfaces, getMethods, getModifiers, getName, getNewMetaMethods, getSuperClassDistance, getTheClass, getTypeDescription, hashCode, isAssignableFrom, isDirectlyAssignable, isInterface, isPrimitive, isVoid, searchMethods, setNewMopMethods, toString |
returns the abstract method from a SAM type, if it is a SAM type.
c
- the SAM classCopyright © 2003-2019 The Apache Software Foundation. All rights reserved.