} catch (Throwable t) {
exceptions.add(t);
}
for (FieldInfo field : fields) {
AutoCleanup annotation = field.getAnnotation(AutoCleanup.class);
try {
Object value = field.readValue(invocation.getInstance());
if (value == null) continue;
GroovyRuntimeUtil.invokeMethod(value, annotation.value());
} catch (Throwable t) {
if (!annotation.quiet()) exceptions.add(t);
}
}
ExtensionUtil.throwAll(exceptions);
}