test_class.declarator: fileSeparator = FileSystems.getDefault().getSeparator()
test_class.modifier: private final
test_class.original_string: private final String fileSeparator = FileSystems.getDefault().getSeparator();
test_class.type: String
test_class.var_name: fileSeparator
test_class.file: swagger2markup/src/test/java/io/github/swagger2markup/internal/resolver/DefinitionDocumentResolverFromOperationTest.java
test_class.identifier: DefinitionDocumentResolverFromOperationTest
test_case.body: @Test
      public void testWithInterDocumentCrossReferencesAndPrefix() {
          Swagger2MarkupConfig config = new Swagger2MarkupConfigBuilder()
                  .withInterDocumentCrossReferences("prefix_")
                  .build();
          Swagger2MarkupConverter.SwaggerContext context = createContext(config);
          context.setOutputPath(Paths.get("/tmp"));
  
          assertThat(new DefinitionDocumentResolverFromOperation(context).apply("DefinitionName"))
                  .isEqualTo("prefix_definitions.adoc");
      }
test_case.class_method_signature: DefinitionDocumentResolverFromOperationTest.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/DefinitionDocumentResolverFromOperation.java
focal_class.identifier: DefinitionDocumentResolverFromOperation
focal_class.class_method_signature: DefinitionDocumentResolverFromOperation.DefinitionDocumentResolverFromOperation(Swagger2MarkupConverter.SwaggerContext context)
focal_class.full_signature: public  DefinitionDocumentResolverFromOperation(Swagger2MarkupConverter.SwaggerContext context)
focal_class.identifier: DefinitionDocumentResolverFromOperation
focal_class.modifiers: public
focal_class.parameters: (Swagger2MarkupConverter.SwaggerContext context)
focal_class.signature:  DefinitionDocumentResolverFromOperation(Swagger2MarkupConverter.SwaggerContext context)
focal_class.class_method_signature: DefinitionDocumentResolverFromOperation.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 DefinitionDocumentResolverDefault
focal_method.body: public String apply(String definitionName) {
          String defaultResolver = super.apply(definitionName);
  
          if (defaultResolver != null && config.isSeparatedOperationsEnabled())
              return defaultString(config.getInterDocumentCrossReferencesPrefix()) + new File("..", defaultResolver).getPath();
          else
              return defaultResolver;
      }
focal_method.class_method_signature: DefinitionDocumentResolverFromOperation.apply(String definitionName)
focal_method.full_signature: public String apply(String definitionName)
focal_method.identifier: apply
focal_method.invocations: apply isSeparatedOperationsEnabled defaultString getInterDocumentCrossReferencesPrefix getPath
focal_method.modifiers: public
focal_method.parameters: (String definitionName)
focal_method.return: String
focal_method.signature: String apply(String definitionName)