Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7617569
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T03:10:59+00:00 2026-05-31T03:10:59+00:00

When I study complex Java codes I didn’t write, I regularly write down in

  • 0

When I study complex Java codes I didn’t write, I regularly write down in notepad the call stacks of some resources I find interesting for a given problem. These resources are generally methods or constants.

Here’s an example :

CONSTANT_NAME
    com.company.common.context.business.Context.methodName1()
        com.company.domain.web.controller.subdomain1.BusinessController.handleRequest(HttpServletRequest, HttpServletResponse)
        com.company.domain.web.controller.subdomain2.BusinessController.handleRequest(HttpServletRequest, HttpServletResponse)
        com.company.domain.web.controller.subdomain3.BusinessController.handleRequest(HttpServletRequest, HttpServletResponse)
    com.company.common.context.business.Context.methodName2()
        com.company.domain.web.controller.subdomain1.BusinessController.handleRequest(HttpServletRequest, HttpServletResponse)
        com.company.domain.web.controller.subdomain3.BusinessController.handleRequest(HttpServletRequest, HttpServletResponse)
        com.company.domain.web.controller.subdomain2.BusinessController.handleRequest(HttpServletRequest, HttpServletResponse)
    com.company.common.context.business.Context.methodName3(Long, boolean)
        com.company.domain.web.controller.services.ClassName.onSubmit(HttpServletRequest, HttpServletResponse, Object, BindException)

For that purpose, I right-click in Eclipse on a constant/method and select “References”, “workspace” (shortcut CTRL+Shift+G). In the “Search” tab, I right-click on a result and select “Copy qualified Name”. I then copy it in notepad with a suitable tabulation (no tabulation for the first variable/method and an additional tabulation for each call level). If a method is called by 2 pieces of code, the same tabulation is added for the fully qualified names of the 2 calling methods.
The result looks thus a bit like java stacktraces.

Why do I do that ? Because I think it gives plenty information on some resources and allows to know in which execution context they are used. Of course, this does not work with configuration resources (xml configuration files for example).

For large programs, this manipulation can become cumbersome.

If I use debug mode in Eclipse, I can get an interesting stacktrace when a breakpoint is hit but this is just for a single case and I want more “abstraction” when I study codes.

Do you know if some tools could do that kind of job for me ?

Thanks !

EDIT : The best way I found to do it is :

  1. make an “open call hierarchy” on a constant/method/variable.
  2. expand all items by using the keyboard arrows in the “Call Hierarchy” view
  3. right-click on the root item and choose “Copy Expanded Hierarchy”.

You then have call stacks you can study in notepad

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T03:11:01+00:00Added an answer on May 31, 2026 at 3:11 am

    I’m not sure I understand your question correctly, but doesn’t “Open Call Hierarchy” (Ctrl+Alt+H) do what you want?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

As I study the source code of some open source products, I find code
Anyone who's tried to study mathematics using online resources will have come across these
I study this code from some book: #include <pthread.h> #include <stdio.h> /* Parameters to
I am trying to study some aspects of ddd with the domain of a
I'm doing a study on large Java projects and would like to view the
I study C and I noticed that I can't find the implementation file for
I study for sometime but didn't get the answer yet. The data is like:
I want to study some strange functions by plotting them out in mathematica. One
I study source codes of programs, (written in c++) that operate on file streams.
I am planning to study on gwt but after going through some introductions, it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.