TryStatement tryStatement = createNode(context, TryStatement.class);
ResourceSpecificationContext resourceSpecificationContext =
getChild(context, ResourceSpecificationContext.class);
if (resourceSpecificationContext != null) {
ResourcesContext resourcesContext =
getChild(resourceSpecificationContext, ResourcesContext.class);
if (resourcesContext != null) {
tryStatement.setResources(transform(resourcesContext, ResourceContext.class,
new Function<ResourceContext, Resource>() {
@Override