private JDeclaredType currentClass;
@Override
public void endVisit(JAnnotation x, Context ctx) {
if (x.getType() == artificialRescueType) {
ArtificialRescue annotation = JAnnotation.createAnnotation(
ArtificialRescue.class, x);
for (Rescue rescue : annotation.value()) {
process(rescue);
}
}
}