@Test public void testAddSetStatementIndex() { SetStatementTree tree = new SetStatementTree(); tree.addSetStatementIndex(1); assertThat(tree._lines.build(), contains(1)); }
public void addSetStatementIndex(int setStatementIndex) { _lines.add(setStatementIndex); }
SetStatementTree { public void addSetStatementIndex(int setStatementIndex) { _lines.add(setStatementIndex); } }
SetStatementTree { public void addSetStatementIndex(int setStatementIndex) { _lines.add(setStatementIndex); } SetStatementTree(); private  SetStatementTree(@Nullable SetStatementTree parent); }
SetStatementTree { public void addSetStatementIndex(int setStatementIndex) { _lines.add(setStatementIndex); } SetStatementTree(); private  SetStatementTree(@Nullable SetStatementTree parent); void addSetStatementIndex(int setStatementIndex); @Nonnull SetStatementTree getOrAddSubtree(String partialStatementText); @Nullable SetStatementTree getParent(); @Nonnull Set<Integer> getSetStatementIndices(); SetStatementTree replaceSubtree(String partialStatementText); }
SetStatementTree { public void addSetStatementIndex(int setStatementIndex) { _lines.add(setStatementIndex); } SetStatementTree(); private  SetStatementTree(@Nullable SetStatementTree parent); void addSetStatementIndex(int setStatementIndex); @Nonnull SetStatementTree getOrAddSubtree(String partialStatementText); @Nullable SetStatementTree getParent(); @Nonnull Set<Integer> getSetStatementIndices(); SetStatementTree replaceSubtree(String partialStatementText);  }