if (index == 65535) { clazz.setSuperClassType(resolveTypePath(clazz.superClassType(), typeAnnotationState)); } else if (index < clazz.interfaceTypes().size()) { Type[] types = clazz.copyInterfaceTypes(); types[index] = resolveTypePath(types[index], typeAnnotationState);