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 8889335
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T22:14:11+00:00 2026-06-14T22:14:11+00:00

I want to get a call-chain report of some methods in eclipse, so I

  • 0

I want to get a call-chain report of some methods in eclipse,
so I press Ctrl+Alt+H to open the method call hierarchy view,
and press numpad_multiply key to expand all nodes.

The problem is that I need to click each node to know which project it belongs to.

Is there any way or plugin to get a report?

(I use Eclipse 3.5 Galileo Java EE IDE for Web Developers. Thanks for any advices)

  • 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-06-14T22:14:14+00:00Added an answer on June 14, 2026 at 10:14 pm

    Answer my question, I hope this helps someone.
    (It’s not a clever way, but it works for me.)

    Prepare:

    1. Ctrl+Alt+H to open the method call hierarchy view, and press numpad_multiply key to expand all nodes.

    2. Ctrl+A to select all nodes.

    3. Copy fully qualified class name, and save it to a file somewhere (eg. c:\tmp.txt)

    4. Remove all method name in above file.

      example:

        com.test.Class1.method1(Long, String)-> com.test.Class1
      

    Source:

    1. Create a new project (type java) in same workspace

    2. Add target project reference to new project

    3. Loop each line of above file (eg. c:\tmp.txt), end use this code to get the class location:

              /**
               * Get class file location
               * @param path : example: com.test.Class1
               * @return : example: /D:/workspace/project/target/com/test/Class1.class
               * @throws ClassNotFoundException
               */
              private static String getFileLocationByClassName(String path) 
                  throws ClassNotFoundException {
                  if (path == null || path.length() == 0)
                      return "";
                  Class<?> forName = Class.forName(path);
                  URL resource = forName.getResource(forName.getSimpleName() + ".class");
                  if (!"file".equalsIgnoreCase(resource.getProtocol()))
                      throw new IllegalStateException("Class is not stored in a file.");
                  return resource.getPath();
              }
      
    4. Note that [project/target] in return is the project name, that’s all.

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

Sidebar

Related Questions

I want to make call to authenticate user and get back token in json
I am trying to make an ajax call using $.get() where I want to
I want to get information about blocked and dropped calls. When you call someone
I have a real simple jquery get call here, and I want to use
http://hopscriber.com/log.php this [{uname:faith},{uname:losh},{uname:loshi},{uname:test}] i want to get it to the list view but i
I want to create a simple menu function which can call it example get_menu()
I want get the time used for a case so I can create an
I want get all of the Geom objects that are related to a certain
I want get as much as possible from Redis + Hiredis + libevent. I'm
What I want: get a xml from the AppData to use What I code

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.