test_class.declarator: ontology = TestOntology.ontology()
test_class.modifier: private final
test_class.original_string: private final Ontology ontology = TestOntology.ontology();
test_class.type: Ontology
test_class.var_name: ontology
test_class.declarator: id1 = TestOntology.TERM_ID_1
test_class.modifier: private final
test_class.original_string: private final TermId id1 = TestOntology.TERM_ID_1;
test_class.type: TermId
test_class.var_name: id1
test_class.file: phenol-core/src/test/java/org/monarchinitiative/phenol/ontology/data/TermIdsTest.java
test_class.identifier: TermIdsTest
test_case.body: @Test
    public void augmentWithAncestorsExcludeRoot() {
      assertEquals(TermId.of("HP:0000005"), ontology.getRootTermId());
      assertEquals(
        ImmutableSet.of(
          TermId.of("HP:0000001"),
          TermId.of("HP:0000002"),
          TermId.of("HP:0000003"),
          TermId.of("HP:0000004")
        ),
        TermIds.augmentWithAncestors(ontology, Sets.newHashSet(id1), false));
    }
test_case.class_method_signature: TermIdsTest.augmentWithAncestorsExcludeRoot()
test_case.full_signature: @Test public void augmentWithAncestorsExcludeRoot()
test_case.identifier: augmentWithAncestorsExcludeRoot
test_case.invocations: assertEquals of getRootTermId assertEquals of of of of of augmentWithAncestors newHashSet
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void augmentWithAncestorsExcludeRoot()
focal_class.file: phenol-core/src/main/java/org/monarchinitiative/phenol/ontology/data/TermIds.java
focal_class.identifier: TermIds
focal_class.class_method_signature: TermIds.TermIds()
focal_class.full_signature: private  TermIds()
focal_class.identifier: TermIds
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  TermIds()
focal_class.class_method_signature: TermIds.augmentWithAncestors(
      Ontology ontology, Set<TermId> termIds, boolean includeRoot)
focal_class.full_signature: public static Set<TermId> augmentWithAncestors(
      Ontology ontology, Set<TermId> termIds, boolean includeRoot)
focal_class.identifier: augmentWithAncestors
focal_class.modifiers: public static
focal_class.parameters: (
      Ontology ontology, Set<TermId> termIds, boolean includeRoot)
focal_class.return: Set<TermId>
focal_class.signature: Set<TermId> augmentWithAncestors(
      Ontology ontology, Set<TermId> termIds, boolean includeRoot)
focal_method.body: public static Set<TermId> augmentWithAncestors(
      Ontology ontology, Set<TermId> termIds, boolean includeRoot) {
      termIds.addAll(ontology.getAllAncestorTermIds(termIds, includeRoot));
      return termIds;
    }
focal_method.class_method_signature: TermIds.augmentWithAncestors(
      Ontology ontology, Set<TermId> termIds, boolean includeRoot)
focal_method.full_signature: public static Set<TermId> augmentWithAncestors(
      Ontology ontology, Set<TermId> termIds, boolean includeRoot)
focal_method.identifier: augmentWithAncestors
focal_method.invocations: addAll getAllAncestorTermIds
focal_method.modifiers: public static
focal_method.parameters: (
      Ontology ontology, Set<TermId> termIds, boolean includeRoot)
focal_method.return: Set<TermId>
focal_method.signature: Set<TermId> augmentWithAncestors(
      Ontology ontology, Set<TermId> termIds, boolean includeRoot)