@Test
public void testMethodDeclaration01() 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(() -> searcher.searchDeclaration(f, 56, 45, "getByName"));
  assertNotNull(result);
  assertTrue(result.isPresent());
  result.ifPresent(
      declaration -> {
        assertEquals("InetAddress.getByName", declaration.scopeInfo);
        //          assertEquals(
        //              "public static InetAddress getByName(String arg0) throws
        // UnknownHostException",
        //              declaration.signature);
      });
}