CodeQL library for Java
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()