@@ -0,0 +1,1133 @@
+package org.jboss.jandex.test;%0A%0Aimport org.jboss.jandex.ClassInfo;%0Aimport org.jboss.jandex.DotName;%0Aimport org.jboss.jandex.Index;%0Aimport org.jboss.jandex.Indexer;%0Aimport org.jboss.jandex.Type;%0Aimport org.junit.Test;%0A%0Aimport java.io.IOException;%0Aimport java.io.InputStream;%0A%0Aimport static org.junit.Assert.assertNotNull;%0A%0Apublic class BoundedWildcardTestCase %7B%0A%0A  public static class TestSubject%3CT extends Number%3E implements Comparable%3CT%3E %7B%0A    @Override%0A    public int compareTo(T o) %7B%0A      return 0;%0A    %7D%0A  %7D%0A%0A  @Test%0A  public void testIndexer() throws IOException %7B%0A    Indexer indexer = new Indexer();%0A    InputStream stream = getClass().getClassLoader().getResourceAsStream(TestSubject.class.getName().replace('.', '/') + %22.class%22);%0A    indexer.index(stream);%0A    Index index = indexer.complete();%0A    verifyMethodTypeVariable(index);%0A  %7D%0A%0A  private void verifyMethodTypeVariable(Index index) %7B%0A    ClassInfo classInfo = index.getClassByName(DotName.createSimple(TestSubject.class.getName()));%0A    assertNotNull(classInfo.method(%22compareTo%22, Type.create(DotName.createSimple(Number.class.getName()), Type.Kind.CLASS)));%0A  %7D%0A%7D%0A

Add test for method type variables that reference a class-level bounded wildcard generic