CodeQL library for Java/Kotlin
codeql/java-all 4.1.1-dev (changelog, source)
Search

Member predicate TypeBound::getPosition

Gets the (zero-indexed) position of this bound.

For example, in

  class X<T extends Runnable & Cloneable> { }

the position of the bound Runnable is 0 and the position of the bound Cloneable is 1.

int getPosition()