feat(api): access node under caret/mouse and jump (PR #1903)

* Access node under caret/mouse and jump
* Apply lint
This commit is contained in:
Yoav Sternberg
2023-06-09 17:50:57 +03:00
committed by GitHub
parent 347d6e2c2e
commit f558203a9d
6 changed files with 217 additions and 0 deletions
@@ -49,4 +49,19 @@ public interface JadxGuiContext {
* Access to GUI settings
*/
JadxGuiSettings settings();
ICodeNodeRef getNodeUnderCaret();
ICodeNodeRef getNodeUnderMouse();
ICodeNodeRef getEnclosingNodeUnderCaret();
ICodeNodeRef getEnclosingNodeUnderMouse();
/**
* Jump to a code ref
*
* @return if successfully jumped to the code ref
*/
boolean open(ICodeNodeRef ref);
}