pattern.getParameters().add(new NamedNode("size", size).toParameterDeclaration());
final ArrayCreationExpression arrayCreation = new ArrayCreationExpression(Expression.MYSTERY_OFFSET);
arrayCreation.getDimensions().add(new IdentifierExpressionBackReference("size").toExpression());
arrayCreation.setType(new NamedNode("type", new AnyNode()).toType());
pattern.setBody(arrayCreation);
final Match match = pattern.match(node);