test_class.declarator: temporaryFolder = new TemporaryFolder(new File("target"))
test_class.modifier: @Rule
      public
test_class.original_string: @Rule
      public TemporaryFolder temporaryFolder = new TemporaryFolder(new File("target"));
test_class.type: TemporaryFolder
test_class.var_name: temporaryFolder
test_class.file: oak-lucene/src/test/java/org/apache/jackrabbit/oak/plugins/index/lucene/directory/LocalIndexDirTest.java
test_class.identifier: LocalIndexDirTest
test_case.body: @Test
      public void comparison() throws Exception{
          LocalIndexDir dir = new LocalIndexDir(createDirWithIndexMetaFile(new IndexMeta("/a/b", 100)));
          LocalIndexDir dir2 = new LocalIndexDir(createDirWithIndexMetaFile(new IndexMeta("/a/b/c", 200)));
          LocalIndexDir dir3 = new LocalIndexDir(createDirWithIndexMetaFile(new IndexMeta("/a", 300)));
  
          List<LocalIndexDir> dirs = Lists.newArrayList();
          dirs.add(dir2);
          dirs.add(dir);
          dirs.add(dir3);
  
          Collections.sort(dirs, Collections.<LocalIndexDir>reverseOrder());
  
          assertEquals("/a", dirs.get(0).getJcrPath());
          assertEquals("/a/b/c", dirs.get(1).getJcrPath());
          assertEquals("/a/b", dirs.get(2).getJcrPath());
      }
test_case.class_method_signature: LocalIndexDirTest.comparison()
test_case.full_signature: @Test public void comparison()
test_case.identifier: comparison
test_case.invocations: createDirWithIndexMetaFile createDirWithIndexMetaFile createDirWithIndexMetaFile newArrayList add add add sort reverseOrder assertEquals getJcrPath get assertEquals getJcrPath get assertEquals getJcrPath get
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void comparison()
focal_class.declarator: dir
focal_class.modifier: final
focal_class.original_string: final File dir;
focal_class.type: File
focal_class.var_name: dir
focal_class.declarator: indexMeta
focal_class.modifier: final
focal_class.original_string: final IndexMeta indexMeta;
focal_class.type: IndexMeta
focal_class.var_name: indexMeta
focal_class.file: oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/directory/LocalIndexDir.java
focal_class.identifier: LocalIndexDir
focal_class.interfaces: implements Comparable<LocalIndexDir>
focal_class.class_method_signature: LocalIndexDir.LocalIndexDir(File dir)
focal_class.full_signature: public  LocalIndexDir(File dir)
focal_class.identifier: LocalIndexDir
focal_class.modifiers: public
focal_class.parameters: (File dir)
focal_class.signature:  LocalIndexDir(File dir)
focal_class.class_method_signature: LocalIndexDir.size()
focal_class.full_signature: public long size()
focal_class.identifier: size
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long size()
focal_class.class_method_signature: LocalIndexDir.isEmpty()
focal_class.full_signature: public boolean isEmpty()
focal_class.identifier: isEmpty
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isEmpty()
focal_class.class_method_signature: LocalIndexDir.getJcrPath()
focal_class.full_signature: public String getJcrPath()
focal_class.identifier: getJcrPath
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getJcrPath()
focal_class.class_method_signature: LocalIndexDir.getFSPath()
focal_class.full_signature: public String getFSPath()
focal_class.identifier: getFSPath
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getFSPath()
focal_class.class_method_signature: LocalIndexDir.compareTo(LocalIndexDir o)
focal_class.full_signature: @Override public int compareTo(LocalIndexDir o)
focal_class.identifier: compareTo
focal_class.modifiers: @Override public
focal_class.parameters: (LocalIndexDir o)
focal_class.return: int
focal_class.signature: int compareTo(LocalIndexDir o)
focal_class.class_method_signature: LocalIndexDir.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: LocalIndexDir.isIndexDir(File file)
focal_class.full_signature: static boolean isIndexDir(File file)
focal_class.identifier: isIndexDir
focal_class.modifiers: static
focal_class.parameters: (File file)
focal_class.return: boolean
focal_class.signature: boolean isIndexDir(File file)
focal_method.body: public String getJcrPath() {
          return indexMeta.indexPath;
      }
focal_method.class_method_signature: LocalIndexDir.getJcrPath()
focal_method.full_signature: public String getJcrPath()
focal_method.identifier: getJcrPath
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: String
focal_method.signature: String getJcrPath()