CodeQL library for Java
codeql/java-all 0.4.5 (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)