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