test_class.declarator: segmentFolder = new TemporaryFolder(new File("target"))
test_class.modifier: @Rule
      public final
test_class.original_string: @Rule
      public final TemporaryFolder segmentFolder = new TemporaryFolder(new File("target"));
test_class.type: TemporaryFolder
test_class.var_name: segmentFolder
test_class.file: oak-segment-tar/src/test/java/org/apache/jackrabbit/oak/segment/file/GcJournalTest.java
test_class.identifier: GcJournalTest
test_case.body: @Test
      public void testReadOak16GCLog() throws Exception {
          createOak16GCLog();
          GCJournal gcJournal = new GCJournal(getPersistence().getGCJournalFile());
          GCJournalEntry entry = gcJournal.read();
          assertEquals(45919825920L, entry.getRepoSize());
          assertEquals(41394306048L, entry.getReclaimedSize());
          assertEquals(1493819563098L, entry.getTs());
          assertEquals(newGCGeneration(1, 1, false), entry.getGcGeneration());
          assertEquals(42, entry.getNodes());
          assertEquals(RecordId.NULL.toString10(), entry.getRoot());
      }
test_case.class_method_signature: GcJournalTest.testReadOak16GCLog()
test_case.full_signature: @Test public void testReadOak16GCLog()
test_case.identifier: testReadOak16GCLog
test_case.invocations: createOak16GCLog getGCJournalFile getPersistence read assertEquals getRepoSize assertEquals getReclaimedSize assertEquals getTs assertEquals newGCGeneration getGcGeneration assertEquals getNodes assertEquals toString10 getRoot
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testReadOak16GCLog()
focal_class.declarator: LOG = LoggerFactory.getLogger(GCJournal.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOG = LoggerFactory.getLogger(GCJournal.class);
focal_class.type: Logger
focal_class.var_name: LOG
focal_class.declarator: journalFile
focal_class.modifier: private final
focal_class.original_string: private final GCJournalFile journalFile;
focal_class.type: GCJournalFile
focal_class.var_name: journalFile
focal_class.declarator: latest
focal_class.modifier: private
focal_class.original_string: private GCJournalEntry latest;
focal_class.type: GCJournalEntry
focal_class.var_name: latest
focal_class.file: oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/file/GCJournal.java
focal_class.identifier: GCJournal
focal_class.class_method_signature: GCJournal.GCJournal(@NotNull GCJournalFile journalFile)
focal_class.full_signature: public  GCJournal(@NotNull GCJournalFile journalFile)
focal_class.identifier: GCJournal
focal_class.modifiers: public
focal_class.parameters: (@NotNull GCJournalFile journalFile)
focal_class.signature:  GCJournal(@NotNull GCJournalFile journalFile)
focal_class.class_method_signature: GCJournal.persist(long reclaimedSize, long repoSize,
              @NotNull GCGeneration gcGeneration, long nodes, @NotNull String root
      )
focal_class.full_signature: public synchronized void persist(long reclaimedSize, long repoSize,
              @NotNull GCGeneration gcGeneration, long nodes, @NotNull String root
      )
focal_class.identifier: persist
focal_class.modifiers: public synchronized
focal_class.parameters: (long reclaimedSize, long repoSize,
              @NotNull GCGeneration gcGeneration, long nodes, @NotNull String root
      )
focal_class.return: void
focal_class.signature: void persist(long reclaimedSize, long repoSize,
              @NotNull GCGeneration gcGeneration, long nodes, @NotNull String root
      )
focal_class.class_method_signature: GCJournal.read()
focal_class.full_signature: public synchronized GCJournalEntry read()
focal_class.identifier: read
focal_class.modifiers: public synchronized
focal_class.parameters: ()
focal_class.return: GCJournalEntry
focal_class.signature: GCJournalEntry read()
focal_class.class_method_signature: GCJournal.readAll()
focal_class.full_signature: public synchronized Collection<GCJournalEntry> readAll()
focal_class.identifier: readAll
focal_class.modifiers: public synchronized
focal_class.parameters: ()
focal_class.return: Collection<GCJournalEntry>
focal_class.signature: Collection<GCJournalEntry> readAll()
focal_class.class_method_signature: GCJournal.readLines()
focal_class.full_signature: private List<String> readLines()
focal_class.identifier: readLines
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: List<String>
focal_class.signature: List<String> readLines()
focal_method.body: public synchronized GCJournalEntry read() {
          if (latest == null) {
              List<String> all = readLines();
              if (all.isEmpty()) {
                  latest = GCJournalEntry.EMPTY;
              } else {
                  String info = all.get(all.size() - 1);
                  latest = GCJournalEntry.fromString(info);
              }
          }
          return latest;
      }
focal_method.class_method_signature: GCJournal.read()
focal_method.full_signature: public synchronized GCJournalEntry read()
focal_method.identifier: read
focal_method.invocations: readLines isEmpty get size fromString
focal_method.modifiers: public synchronized
focal_method.parameters: ()
focal_method.return: GCJournalEntry
focal_method.signature: GCJournalEntry read()