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