Col-E / Recaf

The modern Java bytecode editor
https://recaf.coley.software
MIT License
5.96k stars 462 forks source link

classtree search? #824

Closed eleses closed 2 months ago

eleses commented 2 months ago

It appears in the cli but not in the GUI and even in the former it doesn't actually appear to work, so I guess it's not really implemented?

$ help search classtree
00:53:16.906 [main] DEBUG: Command: help search classtree

Usage: help search classtree <name>
Find classes extending the given name.
      <name>   The class name to search for.

$ search classtree MouseListener
00:53:52.090 [main] DEBUG: Command: search classtree MouseListener

$ search classtree Ljava/awt/event/MouseListener;
00:56:50.557 [main] DEBUG: Command: search classtree Ljava/awt/event/MouseListener;

$ search classtree java.awt.event.MouseListener
00:57:08.165 [main] DEBUG: Command: search classtree java.awt.event.MouseListener

None of those return anything but I'm sure there's a MouseListener due to my other ways of Tracing the method calls at runtime.

eleses commented 2 months ago

Ah, looking at the source for documentation, java/awt/event/MouseListener was the right syntax. It works with that.