public Node createPackageDeclaration(List<Node> annotations, Node head, List<Node> tail) {
PackageDeclaration decl = new PackageDeclaration();
if (annotations != null) for (Node n : annotations) if (n != null) decl.rawAnnotations().addToEnd(n);
if (head != null) decl.rawParts().addToEnd(head);
if (tail != null) for (Node n : tail) if (n != null) decl.rawParts().addToEnd(n);
return posify(decl);
}
public Node createImportDeclaration(String staticKeyword, Node head, List<Node> tail, String dotStar) {
ImportDeclaration decl = new ImportDeclaration();