test_class.declarator: JIM_FS
test_class.modifier: private static
test_class.original_string: private static FileSystem JIM_FS;
test_class.type: FileSystem
test_class.var_name: JIM_FS
test_class.declarator: sampleIndex = Index.builder()
              .name("")
              .item(new Index.Key(UTIL_CAL, "Calendars"), new Index.Value("Calendars", false, null))
              .item(new Index.Key(UTIL_VAR, "Variables"), new Index.Value("Variables", false, null))
              .item(new Index.Key(SA_MULTI, "SAProcessing-1"), new Index.Value("SAProcessing-1", false, null))
              .item(new Index.Key(SA_DOC_TRAMOSEATS, "TramoSeats [1]"), new Index.Value("TramoSeats [1]", false, null))
              .item(new Index.Key(SA_SPEC_TRAMOSEATS, "TramoSeatsSpec-1"), new Index.Value("TramoSeatsSpec-1", false, null))
              .item(new Index.Key(SA_DOC_X13, "X12 [1]"), new Index.Value("X12 [1]", false, null))
              .item(new Index.Key(SA_SPEC_X13, "X12Spec-1"), new Index.Value("X12Spec-1", false, null))
              .build()
test_class.modifier: private final
test_class.original_string: private final Index sampleIndex = Index.builder()
              .name("")
              .item(new Index.Key(UTIL_CAL, "Calendars"), new Index.Value("Calendars", false, null))
              .item(new Index.Key(UTIL_VAR, "Variables"), new Index.Value("Variables", false, null))
              .item(new Index.Key(SA_MULTI, "SAProcessing-1"), new Index.Value("SAProcessing-1", false, null))
              .item(new Index.Key(SA_DOC_TRAMOSEATS, "TramoSeats [1]"), new Index.Value("TramoSeats [1]", false, null))
              .item(new Index.Key(SA_SPEC_TRAMOSEATS, "TramoSeatsSpec-1"), new Index.Value("TramoSeatsSpec-1", false, null))
              .item(new Index.Key(SA_DOC_X13, "X12 [1]"), new Index.Value("X12 [1]", false, null))
              .item(new Index.Key(SA_SPEC_X13, "X12Spec-1"), new Index.Value("X12Spec-1", false, null))
              .build();
test_class.type: Index
test_class.var_name: sampleIndex
test_class.file: demetra-workspace/src/test/java/internal/workspace/file/LegacyIndexerTest.java
test_class.identifier: LegacyIndexerTest
test_case.body: @Test
      public void testLoad() throws IOException {
          Path sampleFile = newLegacySample();
          Index expectedIndex = sampleIndex.withName(MoreFiles.getNameWithoutExtension(sampleFile));
          try (Indexer indexer = new LegacyIndexer(sampleFile)) {
              assertThat(indexer.loadIndex()).isEqualTo(expectedIndex);
          }
      }
test_case.class_method_signature: LegacyIndexerTest.testLoad()
test_case.full_signature: @Test public void testLoad()
test_case.identifier: testLoad
test_case.invocations: newLegacySample withName getNameWithoutExtension isEqualTo assertThat loadIndex
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testLoad()
focal_class.declarator: file
focal_class.modifier: private final
focal_class.original_string: private final Path file;
focal_class.type: Path
focal_class.var_name: file
focal_class.declarator: PARSER
focal_class.modifier: private static final
focal_class.original_string: private static final Xml.Parser<XmlLegacyWorkspace> PARSER;
focal_class.type: Xml.Parser<XmlLegacyWorkspace>
focal_class.var_name: PARSER
focal_class.declarator: FORMATTER
focal_class.modifier: private static final
focal_class.original_string: private static final Xml.Formatter<XmlLegacyWorkspace> FORMATTER;
focal_class.type: Xml.Formatter<XmlLegacyWorkspace>
focal_class.var_name: FORMATTER
focal_class.file: demetra-workspace/src/main/java/internal/workspace/file/LegacyIndexer.java
focal_class.identifier: LegacyIndexer
focal_class.interfaces: implements Indexer
focal_class.class_method_signature: LegacyIndexer.isValid(Path file)
focal_class.full_signature: static boolean isValid(Path file)
focal_class.identifier: isValid
focal_class.modifiers: static
focal_class.parameters: (Path file)
focal_class.return: boolean
focal_class.signature: boolean isValid(Path file)
focal_class.class_method_signature: LegacyIndexer.LegacyIndexer(Path file)
focal_class.full_signature:   LegacyIndexer(Path file)
focal_class.identifier: LegacyIndexer
focal_class.parameters: (Path file)
focal_class.signature:  LegacyIndexer(Path file)
focal_class.class_method_signature: LegacyIndexer.checkId(Index.Key key)
focal_class.full_signature: @Override public void checkId(Index.Key key)
focal_class.identifier: checkId
focal_class.modifiers: @Override public
focal_class.parameters: (Index.Key key)
focal_class.return: void
focal_class.signature: void checkId(Index.Key key)
focal_class.class_method_signature: LegacyIndexer.loadIndex()
focal_class.full_signature: @Override public Index loadIndex()
focal_class.identifier: loadIndex
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Index
focal_class.signature: Index loadIndex()
focal_class.class_method_signature: LegacyIndexer.storeIndex(Index index)
focal_class.full_signature: @Override public void storeIndex(Index index)
focal_class.identifier: storeIndex
focal_class.modifiers: @Override public
focal_class.parameters: (Index index)
focal_class.return: void
focal_class.signature: void storeIndex(Index index)
focal_class.class_method_signature: LegacyIndexer.close()
focal_class.full_signature: @Override public void close()
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.class_method_signature: LegacyIndexer.xmlToIndex(XmlLegacyWorkspace xml, String name)
focal_class.full_signature: private static Index xmlToIndex(XmlLegacyWorkspace xml, String name)
focal_class.identifier: xmlToIndex
focal_class.modifiers: private static
focal_class.parameters: (XmlLegacyWorkspace xml, String name)
focal_class.return: Index
focal_class.signature: Index xmlToIndex(XmlLegacyWorkspace xml, String name)
focal_class.class_method_signature: LegacyIndexer.pusher(Index.Builder result, WorkspaceFamily family)
focal_class.full_signature: private static Consumer<XmlLegacyWorkspaceItem> pusher(Index.Builder result, WorkspaceFamily family)
focal_class.identifier: pusher
focal_class.modifiers: private static
focal_class.parameters: (Index.Builder result, WorkspaceFamily family)
focal_class.return: Consumer<XmlLegacyWorkspaceItem>
focal_class.signature: Consumer<XmlLegacyWorkspaceItem> pusher(Index.Builder result, WorkspaceFamily family)
focal_class.class_method_signature: LegacyIndexer.getIndexKey(XmlLegacyWorkspaceItem xml, WorkspaceFamily family)
focal_class.full_signature: private static Index.Key getIndexKey(XmlLegacyWorkspaceItem xml, WorkspaceFamily family)
focal_class.identifier: getIndexKey
focal_class.modifiers: private static
focal_class.parameters: (XmlLegacyWorkspaceItem xml, WorkspaceFamily family)
focal_class.return: Index.Key
focal_class.signature: Index.Key getIndexKey(XmlLegacyWorkspaceItem xml, WorkspaceFamily family)
focal_class.class_method_signature: LegacyIndexer.getIndexValue(XmlLegacyWorkspaceItem xml)
focal_class.full_signature: private static Index.Value getIndexValue(XmlLegacyWorkspaceItem xml)
focal_class.identifier: getIndexValue
focal_class.modifiers: private static
focal_class.parameters: (XmlLegacyWorkspaceItem xml)
focal_class.return: Index.Value
focal_class.signature: Index.Value getIndexValue(XmlLegacyWorkspaceItem xml)
focal_class.class_method_signature: LegacyIndexer.indexToXml(Index index)
focal_class.full_signature: private static XmlLegacyWorkspace indexToXml(Index index)
focal_class.identifier: indexToXml
focal_class.modifiers: private static
focal_class.parameters: (Index index)
focal_class.return: XmlLegacyWorkspace
focal_class.signature: XmlLegacyWorkspace indexToXml(Index index)
focal_class.class_method_signature: LegacyIndexer.toSingleItem(Index index, WorkspaceFamily family)
focal_class.full_signature: private static XmlLegacyWorkspaceItem toSingleItem(Index index, WorkspaceFamily family)
focal_class.identifier: toSingleItem
focal_class.modifiers: private static
focal_class.parameters: (Index index, WorkspaceFamily family)
focal_class.return: XmlLegacyWorkspaceItem
focal_class.signature: XmlLegacyWorkspaceItem toSingleItem(Index index, WorkspaceFamily family)
focal_class.class_method_signature: LegacyIndexer.toEachItem(Index index, WorkspaceFamily family)
focal_class.full_signature: private static XmlLegacyWorkspaceItem[] toEachItem(Index index, WorkspaceFamily family)
focal_class.identifier: toEachItem
focal_class.modifiers: private static
focal_class.parameters: (Index index, WorkspaceFamily family)
focal_class.return: XmlLegacyWorkspaceItem[]
focal_class.signature: XmlLegacyWorkspaceItem[] toEachItem(Index index, WorkspaceFamily family)
focal_class.class_method_signature: LegacyIndexer.filterOnFamily(WorkspaceFamily family)
focal_class.full_signature: private static Predicate<Entry<Index.Key, Index.Value>> filterOnFamily(WorkspaceFamily family)
focal_class.identifier: filterOnFamily
focal_class.modifiers: private static
focal_class.parameters: (WorkspaceFamily family)
focal_class.return: Predicate<Entry<Index.Key, Index.Value>>
focal_class.signature: Predicate<Entry<Index.Key, Index.Value>> filterOnFamily(WorkspaceFamily family)
focal_class.class_method_signature: LegacyIndexer.map(Entry<Index.Key, Index.Value> o)
focal_class.full_signature: private static XmlLegacyWorkspaceItem map(Entry<Index.Key, Index.Value> o)
focal_class.identifier: map
focal_class.modifiers: private static
focal_class.parameters: (Entry<Index.Key, Index.Value> o)
focal_class.return: XmlLegacyWorkspaceItem
focal_class.signature: XmlLegacyWorkspaceItem map(Entry<Index.Key, Index.Value> o)
focal_class.class_method_signature: LegacyIndexer.unmarshalIndex(Path file)
focal_class.full_signature: private static XmlLegacyWorkspace unmarshalIndex(Path file)
focal_class.identifier: unmarshalIndex
focal_class.modifiers: private static
focal_class.parameters: (Path file)
focal_class.return: XmlLegacyWorkspace
focal_class.signature: XmlLegacyWorkspace unmarshalIndex(Path file)
focal_class.class_method_signature: LegacyIndexer.marshalIndex(Path file, XmlLegacyWorkspace jaxbElement)
focal_class.full_signature: private static void marshalIndex(Path file, XmlLegacyWorkspace jaxbElement)
focal_class.identifier: marshalIndex
focal_class.modifiers: private static
focal_class.parameters: (Path file, XmlLegacyWorkspace jaxbElement)
focal_class.return: void
focal_class.signature: void marshalIndex(Path file, XmlLegacyWorkspace jaxbElement)
focal_method.body: @Override
      public Index loadIndex() throws IOException {
          return xmlToIndex(unmarshalIndex(file), MoreFiles.getNameWithoutExtension(file));
      }
focal_method.class_method_signature: LegacyIndexer.loadIndex()
focal_method.full_signature: @Override public Index loadIndex()
focal_method.identifier: loadIndex
focal_method.invocations: xmlToIndex unmarshalIndex getNameWithoutExtension
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: Index
focal_method.signature: Index loadIndex()