use of com.github.javaparser.ast.ArrayCreationLevel in project javaparser by javaparser.
the class ArrayCreationLevelTransformationsTest method addingDimension.
// Dimension
@Test
public void addingDimension() throws IOException {
ArrayCreationLevel it = consider("[]");
it.setDimension(new IntegerLiteralExpr("10"));
assertTransformedToString("[10]", it);
}
Aggregations