@Test
public void testClassDeclaration01() throws Exception {

  File f =
      new File(
              project.getProjectRootPath(),
              "./src/main/java/meghanada/server/emacs/EmacsServer.java")
          .getCanonicalFile();
  assertTrue(f.exists());
  final DeclarationSearcher searcher = getSearcher();
  final Optional<Declaration> result =
      debugIt(
          () -> {
            return searcher.searchDeclaration(f, 31, 20, "ServerSocket");
          });
  assertNotNull(result);
  assertTrue(result.isPresent());
  result.ifPresent(
      declaration -> {
        assertEquals("ServerSocket", declaration.scopeInfo);
        assertEquals("java.net.ServerSocket", declaration.signature);
      });
}