public abstract class AttrNode extends java.lang.Object implements IAttributeNode
| Constructor and Description |
|---|
AttrNode() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(AFlag flag) |
void |
addAttr(jadx.api.plugins.input.data.attributes.IJadxAttribute attr) |
<T> void |
addAttr(jadx.api.plugins.input.data.attributes.IJadxAttrType<AttrList<T>> type,
java.util.List<T> list) |
<T> void |
addAttr(jadx.api.plugins.input.data.attributes.IJadxAttrType<AttrList<T>> type,
T obj) |
void |
addAttrs(java.util.List<jadx.api.plugins.input.data.attributes.IJadxAttribute> list) |
void |
clearAttributes() |
boolean |
contains(AFlag flag) |
<T extends jadx.api.plugins.input.data.attributes.IJadxAttribute> |
contains(jadx.api.plugins.input.data.attributes.IJadxAttrType<T> type) |
<T extends jadx.api.plugins.input.data.attributes.IJadxAttribute> |
copyAttributeFrom(AttrNode attrNode,
AType<T> attrType) |
void |
copyAttributesFrom(AttrNode attrNode) |
<T extends jadx.api.plugins.input.data.attributes.IJadxAttribute> |
get(jadx.api.plugins.input.data.attributes.IJadxAttrType<T> type) |
<T> java.util.List<T> |
getAll(jadx.api.plugins.input.data.attributes.IJadxAttrType<AttrList<T>> type) |
jadx.api.plugins.input.data.annotations.IAnnotation |
getAnnotation(java.lang.String cls) |
java.lang.String |
getAttributesString() |
java.util.List<java.lang.String> |
getAttributesStringsList() |
boolean |
isAttrStorageEmpty() |
void |
remove(AFlag flag) |
<T extends jadx.api.plugins.input.data.attributes.IJadxAttribute> |
remove(jadx.api.plugins.input.data.attributes.IJadxAttrType<T> type) |
void |
removeAttr(jadx.api.plugins.input.data.attributes.IJadxAttribute attr) |
<T extends jadx.api.plugins.input.data.attributes.IJadxAttribute> |
rewriteAttributeFrom(AttrNode attrNode,
AType<T> attrType)
Remove attribute in this node, add copy from other if exists
|
void |
unloadAttributes()
Remove all attribute
|
public void add(AFlag flag)
add in interface IAttributeNodepublic void addAttr(jadx.api.plugins.input.data.attributes.IJadxAttribute attr)
addAttr in interface IAttributeNodepublic void addAttrs(java.util.List<jadx.api.plugins.input.data.attributes.IJadxAttribute> list)
addAttrs in interface IAttributeNodepublic <T> void addAttr(jadx.api.plugins.input.data.attributes.IJadxAttrType<AttrList<T>> type, T obj)
addAttr in interface IAttributeNodepublic <T> void addAttr(jadx.api.plugins.input.data.attributes.IJadxAttrType<AttrList<T>> type, java.util.List<T> list)
public void copyAttributesFrom(AttrNode attrNode)
copyAttributesFrom in interface IAttributeNodepublic <T extends jadx.api.plugins.input.data.attributes.IJadxAttribute> void copyAttributeFrom(AttrNode attrNode, AType<T> attrType)
copyAttributeFrom in interface IAttributeNodepublic <T extends jadx.api.plugins.input.data.attributes.IJadxAttribute> void rewriteAttributeFrom(AttrNode attrNode, AType<T> attrType)
rewriteAttributeFrom in interface IAttributeNodepublic boolean contains(AFlag flag)
contains in interface IAttributeNodepublic <T extends jadx.api.plugins.input.data.attributes.IJadxAttribute> boolean contains(jadx.api.plugins.input.data.attributes.IJadxAttrType<T> type)
contains in interface IAttributeNodepublic <T extends jadx.api.plugins.input.data.attributes.IJadxAttribute> T get(jadx.api.plugins.input.data.attributes.IJadxAttrType<T> type)
get in interface IAttributeNodepublic jadx.api.plugins.input.data.annotations.IAnnotation getAnnotation(java.lang.String cls)
getAnnotation in interface IAttributeNodepublic <T> java.util.List<T> getAll(jadx.api.plugins.input.data.attributes.IJadxAttrType<AttrList<T>> type)
getAll in interface IAttributeNodepublic void remove(AFlag flag)
remove in interface IAttributeNodepublic <T extends jadx.api.plugins.input.data.attributes.IJadxAttribute> void remove(jadx.api.plugins.input.data.attributes.IJadxAttrType<T> type)
remove in interface IAttributeNodepublic void removeAttr(jadx.api.plugins.input.data.attributes.IJadxAttribute attr)
removeAttr in interface IAttributeNodepublic void clearAttributes()
clearAttributes in interface IAttributeNodepublic void unloadAttributes()
public java.util.List<java.lang.String> getAttributesStringsList()
getAttributesStringsList in interface IAttributeNodepublic java.lang.String getAttributesString()
getAttributesString in interface IAttributeNodepublic boolean isAttrStorageEmpty()
isAttrStorageEmpty in interface IAttributeNode