MCPcopy Create free account
hub / github.com/apache/groovy / isSAMType

Method isSAMType

src/main/java/org/codehaus/groovy/ast/ClassHelper.java:622–624  ·  view source on GitHub ↗
(final ClassNode type)

Source from the content-addressed store, hash-verified

620 }
621
622 public static boolean isSAMType(final ClassNode type) {
623 return findSAM(type) != null;
624 }
625
626 public static boolean isFunctionalInterface(final ClassNode type) {
627 // Functional interface must be an interface at first, or the following exception will occur:

Calls 1

findSAMMethod · 0.95

Tested by

no test coverage detected