test_class.file: swagger2markup/src/test/java/io/github/swagger2markup/internal/resolver/DefinitionDocumentNameResolverTest.java
test_class.identifier: DefinitionDocumentNameResolverTest
test_case.body: @Test
      public void testWithInterDocumentCrossReferencesAndPrefix() {
          Swagger2MarkupConfig config = (Swagger2MarkupConfig) new Swagger2MarkupConfigBuilder()
                  .withInterDocumentCrossReferences("prefix_")
                  .build();
          Swagger2MarkupConverter.SwaggerContext context = createContext(config);
          context.setOutputPath(Paths.get("/tmp"));
  
          assertThat(new DefinitionDocumentNameResolver(context).apply("DefinitionName"))
                  .isEqualTo("definitions.adoc");
      }
test_case.class_method_signature: DefinitionDocumentNameResolverTest.testWithInterDocumentCrossReferencesAndPrefix()
test_case.full_signature: @Test public void testWithInterDocumentCrossReferencesAndPrefix()
test_case.identifier: testWithInterDocumentCrossReferencesAndPrefix
test_case.invocations: build withInterDocumentCrossReferences createContext setOutputPath get isEqualTo assertThat apply
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testWithInterDocumentCrossReferencesAndPrefix()
focal_class.file: swagger2markup/src/main/java/io/github/swagger2markup/internal/resolver/DefinitionDocumentNameResolver.java
focal_class.identifier: DefinitionDocumentNameResolver
focal_class.class_method_signature: DefinitionDocumentNameResolver.DefinitionDocumentNameResolver(Swagger2MarkupConverter.SwaggerContext context)
focal_class.full_signature: public  DefinitionDocumentNameResolver(Swagger2MarkupConverter.SwaggerContext context)
focal_class.identifier: DefinitionDocumentNameResolver
focal_class.modifiers: public
focal_class.parameters: (Swagger2MarkupConverter.SwaggerContext context)
focal_class.signature:  DefinitionDocumentNameResolver(Swagger2MarkupConverter.SwaggerContext context)
focal_class.class_method_signature: DefinitionDocumentNameResolver.apply(String definitionName)
focal_class.full_signature: public String apply(String definitionName)
focal_class.identifier: apply
focal_class.modifiers: public
focal_class.parameters: (String definitionName)
focal_class.return: String
focal_class.signature: String apply(String definitionName)
focal_class.superclass: extends DocumentResolver
focal_method.body: public String apply(String definitionName) {
          if (config.isSeparatedDefinitionsEnabled())
              return new File(config.getSeparatedDefinitionsFolder(), markupDocBuilder.addFileExtension(normalizeName(definitionName))).getPath();
          else
              return markupDocBuilder.addFileExtension(config.getDefinitionsDocument());
      }
focal_method.class_method_signature: DefinitionDocumentNameResolver.apply(String definitionName)
focal_method.full_signature: public String apply(String definitionName)
focal_method.identifier: apply
focal_method.invocations: isSeparatedDefinitionsEnabled getPath getSeparatedDefinitionsFolder addFileExtension normalizeName addFileExtension getDefinitionsDocument
focal_method.modifiers: public
focal_method.parameters: (String definitionName)
focal_method.return: String
focal_method.signature: String apply(String definitionName)