@Test public void test() { Tree identifier = identifier("x"); ImportDeclarationTree tree = new ImportDeclarationTreeImpl(null, Collections.singletonList(identifier)); Assertions.assertThat(tree.children()).containsExactly(identifier); }
@Override public List<Tree> children() { return children; }
ImportDeclarationTreeImpl extends BaseTreeImpl implements ImportDeclarationTree { @Override public List<Tree> children() { return children; } }
ImportDeclarationTreeImpl extends BaseTreeImpl implements ImportDeclarationTree { @Override public List<Tree> children() { return children; } ImportDeclarationTreeImpl(TreeMetaData metaData, List<Tree> children); }
ImportDeclarationTreeImpl extends BaseTreeImpl implements ImportDeclarationTree { @Override public List<Tree> children() { return children; } ImportDeclarationTreeImpl(TreeMetaData metaData, List<Tree> children); @Override List<Tree> children(); }
ImportDeclarationTreeImpl extends BaseTreeImpl implements ImportDeclarationTree { @Override public List<Tree> children() { return children; } ImportDeclarationTreeImpl(TreeMetaData metaData, List<Tree> children); @Override List<Tree> children();  }