When I search for all methods in the current Java class file, I use the command+shift+o shortcut key, but it only displays the methods defined in the file itself, not the methods inherited from the parent class. Is there any way to directly display all methods and variables, similar to the command+F12 shortcut key function of IntelliJ Idea?
for example:
public class Animal {
private int type;
public int getType() {
return type;
}
}
public class Dog extends Animal{
public void run(){
}
}
When I search for all methods in the Dog.java file, only list eat() method, but the getType() method inherited from the parent class Animal not show.