Class CachedSAMClass
java.lang.Object
org.codehaus.groovy.reflection.CachedClass
org.codehaus.groovy.reflection.stdclasses.CachedSAMClass
- 
Nested Class SummaryNested classes/interfaces inherited from class org.codehaus.groovy.reflection.CachedClassCachedClass.CachedMethodComparatorByName, CachedClass.CachedMethodComparatorWithString
- 
Field SummaryFields inherited from class org.codehaus.groovy.reflection.CachedClassclassInfo, EMPTY_ARRAY, isArray, isInterface, isNumber, isPrimitive, modifiers, mopMethods
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncoerceArgument(Object argument) static ObjectcoerceToSAM(Closure argument, Method method, Class clazz) static ObjectcoerceToSAM(Closure argument, Method method, Class clazz, boolean isInterface) static MethodgetSAMMethod(Class<?> c) Finds the abstract method of given class, if it is a SAM type.booleanisAssignableFrom(Class argument) Methods inherited from class org.codehaus.groovy.reflection.CachedClassaddNewMopMethods, getCachedClass, getCachedSuperClass, getCallSiteLoader, getConstructors, getDeclaredInterfaces, getFields, getHierarchy, getInterfaces, getMethods, getModifiers, getName, getNewMetaMethods, getSuperClassDistance, getTheClass, getTypeDescription, hashCode, isDirectlyAssignable, isInterface, isPrimitive, isVoid, searchMethods, setNewMopMethods, toString
- 
Constructor Details- 
CachedSAMClass
 
- 
- 
Method Details- 
isAssignableFrom- Overrides:
- isAssignableFromin class- CachedClass
 
- 
coerceArgument- Overrides:
- coerceArgumentin class- CachedClass
 
- 
coerceToSAM
- 
coerceToSAM
- 
getSAMMethodFinds the abstract method of given class, if it is a SAM type.
 
-