CheckClassAdapter ca = new CheckClassAdapter(cw);
ClassNode cn = generateBasicClass();
ClassTransformer ct = null;
ct = new RemoveAnnotationTransformer(ct, "Ljava/lang/Deprecated;");
ct = new AddAnnotationTransformer(ct, "Ljava/lang/Deprecated;");
ct.transform(cn);
cn.accept(ca);
checkClass(defineClass("C", cw.toByteArray()));
}
@Override