DeclaredType type = (DeclaredType)tpe.getBounds().get(0);
if (type.asElement() != element)
throw error("%s != %s", type.asElement(), element);
TypeVariable tv = (TypeVariable)type.getTypeArguments().get(0);
if (tv.asElement() != tpe)
throw error("%s != %s", tv.asElement(), tpe);
}
}
public boolean process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) {
test(processingEnv.getElementUtils().getTypeElement("Test1"), false);