MCPcopy Index your code
hub / github.com/apache/groovy / isGroovyFunctor

Method isGroovyFunctor

src/main/java/groovy/lang/MetaClassImpl.java:400–402  ·  view source on GitHub ↗

Indicates if the represented class comes from a Groovy closure or lambda expression.

()

Source from the content-addressed store, hash-verified

398 * Indicates if the represented class comes from a Groovy closure or lambda expression.
399 */
400 private boolean isGroovyFunctor() {
401 return GeneratedClosure.class.isAssignableFrom(theClass);
402 }
403
404 private void fillMethodIndex() {
405 mainClassMethodHeader = metaMethodIndex.getHeader(theClass);

Callers 3

getMethodsMethod · 0.95
getMethodWithCachingMethod · 0.95
createPogoCallSiteMethod · 0.95

Calls 1

isAssignableFromMethod · 0.45

Tested by

no test coverage detected