public abstract class DexElementNode
extends javax.swing.tree.DefaultMutableTreeNode
| Modifier and Type | Method and Description |
|---|---|
protected static java.lang.String |
combine(java.lang.String parentPackage,
java.lang.String childName) |
DexElementNode |
getChildAt(int i) |
<T extends DexElementNode> |
getChildByType(java.lang.String name,
java.lang.Class<T> type) |
int |
getMethodDefinitionsCount() |
int |
getMethodReferencesCount() |
java.lang.String |
getName() |
DexElementNode |
getParent() |
org.jf.dexlib2.iface.reference.Reference |
getReference() |
abstract long |
getSize()
Returns the private size of this dex node, i.e.
|
boolean |
isDefined() |
boolean |
isRemoved() |
boolean |
isSeed(com.android.tools.proguard.ProguardSeedsMap seedsMap,
com.android.tools.proguard.ProguardMap map,
boolean checkChildren) |
void |
setDefined(boolean defined) |
protected void |
setMethodDefinitionsCount(int methodDefinitionsCount) |
protected void |
setMethodReferencesCount(int methodReferencesCount) |
void |
setRemoved(boolean removed) |
void |
sort(java.util.Comparator<DexElementNode> comparator) |
void |
update() |
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString@NonNull public java.lang.String getName()
@Nullable public org.jf.dexlib2.iface.reference.Reference getReference()
public DexElementNode getChildAt(int i)
getChildAt in interface javax.swing.tree.TreeNodegetChildAt in class javax.swing.tree.DefaultMutableTreeNodepublic void sort(java.util.Comparator<DexElementNode> comparator)
@Nullable public <T extends DexElementNode> T getChildByType(@NonNull java.lang.String name, java.lang.Class<T> type)
public boolean isSeed(@Nullable
com.android.tools.proguard.ProguardSeedsMap seedsMap,
@Nullable
com.android.tools.proguard.ProguardMap map,
boolean checkChildren)
public DexElementNode getParent()
getParent in interface javax.swing.tree.TreeNodegetParent in class javax.swing.tree.DefaultMutableTreeNodepublic void update()
protected static java.lang.String combine(@NonNull
java.lang.String parentPackage,
@NonNull
java.lang.String childName)
public boolean isDefined()
public void setDefined(boolean defined)
public boolean isRemoved()
public void setRemoved(boolean removed)
public int getMethodReferencesCount()
protected void setMethodReferencesCount(int methodReferencesCount)
public int getMethodDefinitionsCount()
protected void setMethodDefinitionsCount(int methodDefinitionsCount)
public abstract long getSize()