test_class.declarator: temporaryFolder = new TemporaryFolder()
test_class.modifier: @Rule
      public
test_class.original_string: @Rule
      public TemporaryFolder temporaryFolder = new TemporaryFolder();
test_class.type: TemporaryFolder
test_class.var_name: temporaryFolder
test_class.file: conjure-core/src/test/java/com/palantir/conjure/parser/ConjureParserTest.java
test_class.identifier: ConjureParserTest
test_case.body: @Test
      public void testConjureRevisitedImports() throws IOException {
          // create a hierarchy of dependencies such that a significant amount of files is visited repeatedly
          // each file depends on all files from the previous level
          List<String> inners = ImmutableList.of(
                  "innerOne",
                  "innerTwo",
                  "innerThree",
                  "innerFour",
                  "innerFive",
                  "innerSix",
                  "innerSeven",
                  "innerEight",
                  "innerNine",
                  "innerTen");
          List<String> mid = ImmutableList.of("midOne", "midTwo", "midThree", "midFour", "midFive");
          List<String> top = ImmutableList.of("topOne", "topTwo", "topThree", "topFour", "topFive", "topSix");
  
          String root = "root";
  
          generateFiles(inners, ImmutableList.of());
          generateFiles(mid, inners);
          generateFiles(top, mid);
          generateFiles(ImmutableList.of(root), top);
  
          ConjureSourceFile result = ConjureParser.parse(
                  temporaryFolder.getRoot().toPath().resolve(root + ".yml").toFile());
          assertThat(result.types().conjureImports()).isNotEmpty();
      }
test_case.class_method_signature: ConjureParserTest.testConjureRevisitedImports()
test_case.full_signature: @Test public void testConjureRevisitedImports()
test_case.identifier: testConjureRevisitedImports
test_case.invocations: of of of generateFiles of generateFiles generateFiles generateFiles of parse toFile resolve toPath getRoot isNotEmpty assertThat conjureImports types
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testConjureRevisitedImports()
focal_class.declarator: MAPPER = createConjureParserObjectMapper()
focal_class.modifier: private static final
focal_class.original_string: private static final ObjectMapper MAPPER = createConjureParserObjectMapper();
focal_class.type: ObjectMapper
focal_class.var_name: MAPPER
focal_class.file: conjure-core/src/main/java/com/palantir/conjure/parser/ConjureParser.java
focal_class.identifier: ConjureParser
focal_class.class_method_signature: ConjureParser.ConjureParser()
focal_class.full_signature: private  ConjureParser()
focal_class.identifier: ConjureParser
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  ConjureParser()
focal_class.class_method_signature: ConjureParser.parse(File file)
focal_class.full_signature: public static ConjureSourceFile parse(File file)
focal_class.identifier: parse
focal_class.modifiers: public static
focal_class.parameters: (File file)
focal_class.return: ConjureSourceFile
focal_class.signature: ConjureSourceFile parse(File file)
focal_class.class_method_signature: ConjureParser.parseAnnotated(File file)
focal_class.full_signature: public static AnnotatedConjureSourceFile parseAnnotated(File file)
focal_class.identifier: parseAnnotated
focal_class.modifiers: public static
focal_class.parameters: (File file)
focal_class.return: AnnotatedConjureSourceFile
focal_class.signature: AnnotatedConjureSourceFile parseAnnotated(File file)
focal_class.class_method_signature: ConjureParser.parseAnnotated(Collection<File> files)
focal_class.full_signature: public static List<AnnotatedConjureSourceFile> parseAnnotated(Collection<File> files)
focal_class.identifier: parseAnnotated
focal_class.modifiers: public static
focal_class.parameters: (Collection<File> files)
focal_class.return: List<AnnotatedConjureSourceFile>
focal_class.signature: List<AnnotatedConjureSourceFile> parseAnnotated(Collection<File> files)
focal_class.class_method_signature: ConjureParser.parseAnnotated(RecursiveParser parser, File file)
focal_class.full_signature: private static AnnotatedConjureSourceFile parseAnnotated(RecursiveParser parser, File file)
focal_class.identifier: parseAnnotated
focal_class.modifiers: private static
focal_class.parameters: (RecursiveParser parser, File file)
focal_class.return: AnnotatedConjureSourceFile
focal_class.signature: AnnotatedConjureSourceFile parseAnnotated(RecursiveParser parser, File file)
focal_class.class_method_signature: ConjureParser.createConjureParserObjectMapper()
focal_class.full_signature: @VisibleForTesting static ObjectMapper createConjureParserObjectMapper()
focal_class.identifier: createConjureParserObjectMapper
focal_class.modifiers: @VisibleForTesting static
focal_class.parameters: ()
focal_class.return: ObjectMapper
focal_class.signature: ObjectMapper createConjureParserObjectMapper()
focal_method.body: public static ConjureSourceFile parse(File file) {
          RecursiveParser parser = new RecursiveParser();
          return parser.parse(file);
      }
focal_method.class_method_signature: ConjureParser.parse(File file)
focal_method.full_signature: public static ConjureSourceFile parse(File file)
focal_method.identifier: parse
focal_method.invocations: parse
focal_method.modifiers: public static
focal_method.parameters: (File file)
focal_method.return: ConjureSourceFile
focal_method.signature: ConjureSourceFile parse(File file)