feat: add events support (#1832)

This commit is contained in:
Skylot
2023-04-23 16:47:29 +01:00
parent df313dbfec
commit 683cd76cc5
30 changed files with 331 additions and 1 deletions
@@ -0,0 +1,11 @@
import jadx.api.plugins.events.JadxEvents
/**
* Log events
*/
val jadx = getJadxInstance()
jadx.events.addListener(JadxEvents.NODE_RENAMED_BY_USER) { rename ->
log.info { "Rename from '${rename.oldName}' to '${rename.newName}' for node ${rename.node}" }
}