fix: unload attributes map if empty (#2433)

This commit is contained in:
Skylot
2025-03-06 19:36:46 +00:00
parent ce60aa8635
commit c9d650d186
6 changed files with 41 additions and 24 deletions
@@ -1,11 +1,14 @@
package jadx.api.plugins.input.data.attributes;
/**
* Jadx attribute: custom data container, can be added to most jadx nodes.
*/
public interface IJadxAttribute {
IJadxAttrType<? extends IJadxAttribute> getAttrType();
/**
* Mark type to skip unloading on node unload
* Mark type to skip unloading on node unload event
*/
default boolean keepLoaded() {
return false;