Class IntersectionCastSupport

java.lang.Object
org.codehaus.groovy.runtime.IntersectionCastSupport

public final class IntersectionCastSupport extends Object
Runtime support for intersection-type cast and as coercion (GROOVY-11998). Compiler-generated bytecode for (A & B) value and value as (A & B) routes through these helpers when the target is an intersection type and the source is not a native lambda or method reference (those cases are handled at compile time via LambdaMetafactory.altMetafactory markers).
Since:
6.0.0