0

I'd like to find every call to any method of any object of a specified Class in the entire workspace.

I know how to find every call to a specific method and also every call to the constructor of a specific class but not how to find every call to any method.

Chris
  • 7,675
  • 8
  • 51
  • 101
  • Did you tried _Java Search_: `com.example.MyClass.*`, _Search For: Method_ and _Limit To: References_? – howlger Aug 03 '18 at 05:47
  • Possible duplicate of [Is there in eclipse way to find usages like in idea?](https://stackoverflow.com/questions/25618181/is-there-in-eclipse-way-to-find-usages-like-in-idea) – Rakesh G R Aug 03 '18 at 05:48
  • Right Click on Class --> References --> Workspace/Project :: This will get you all the functions and variables of the class used elsewhere – Rakesh G R Aug 03 '18 at 05:50

1 Answers1

2

Open the Outline view (Window > Show View > Outline), select all the methods and hit Ctrl+Alt+H (what you do to find the calls for single method). This works fine with Eclipse Photon.

howlger
  • 31,050
  • 11
  • 59
  • 99
Foolish
  • 3,952
  • 33
  • 46