CodeQL library for Java/Kotlin
codeql/java-all 0.11.0 (changelog, source)

Member predicate IntersectionTypeAccess::getBound

Gets the bound at a specified (zero-based) position in this intersection type access expression.

For example, in the intersection type access expression Runnable & Cloneable, the bound at position 0 is Runnable and the bound at position 1 is Cloneable.

Expr getBound(int index)