Home | History | Annotate | Download | only in ast

Lines Matching refs:it

16  * JavaParser is distributed in the hope that it will be useful,
51 ArrayCreationLevel it = consider("[]");
52 it.setDimension(new IntegerLiteralExpr("10"));
53 assertTransformedToString("[10]", it);
58 ArrayCreationLevel it = consider("[10]");
59 it.removeDimension();
60 assertTransformedToString("[]", it);
65 ArrayCreationLevel it = consider("[10]");
66 it.setDimension(new IntegerLiteralExpr("12"));
67 assertTransformedToString("[12]", it);
74 ArrayCreationLevel it = consider("[]");
75 it.addAnnotation("myAnno");
76 assertTransformedToString("@myAnno()"+ Utils.EOL+"[]", it);
81 ArrayCreationLevel it = consider("@myAnno []");
82 it.getAnnotations().remove(0);
83 assertTransformedToString("[]", it);
88 ArrayCreationLevel it = consider("@myAnno []");
89 it.getAnnotations().set(0, new NormalAnnotationExpr(new Name("myOtherAnno"), new NodeList<>()));
90 assertTransformedToString("@myOtherAnno() []", it);