Class DexMethodNode
- java.lang.Object
-
- javax.swing.tree.DefaultMutableTreeNode
-
- com.android.tools.apk.analyzer.dex.tree.DexElementNode
-
- com.android.tools.apk.analyzer.dex.tree.DexMethodNode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,javax.swing.tree.MutableTreeNode,javax.swing.tree.TreeNode
public class DexMethodNode extends DexElementNode
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DexMethodNode(java.lang.String displayName, org.jf.dexlib2.immutable.reference.ImmutableMethodReference reference)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetMethodDefinitionsCount()intgetMethodReferencesCount()org.jf.dexlib2.iface.reference.MethodReferencegetReference()longgetSize()Returns the private size of this dex node, i.e.booleanisSeed(com.android.tools.proguard.ProguardSeedsMap seedsMap, com.android.tools.proguard.ProguardMap map, boolean checkChildren)voidsetSize(long size)voidupdate()-
Methods inherited from class com.android.tools.apk.analyzer.dex.tree.DexElementNode
combine, getChildAt, getChildByType, getName, getParent, isDefined, isRemoved, setDefined, setMethodDefinitionsCount, setMethodReferencesCount, setRemoved, sort
-
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
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
-
-
-
-
Method Detail
-
getReference
@Nullable public org.jf.dexlib2.iface.reference.MethodReference getReference()
- Overrides:
getReferencein classDexElementNode
-
isSeed
public boolean isSeed(@Nullable com.android.tools.proguard.ProguardSeedsMap seedsMap, @Nullable com.android.tools.proguard.ProguardMap map, boolean checkChildren)- Overrides:
isSeedin classDexElementNode
-
getMethodDefinitionsCount
public int getMethodDefinitionsCount()
- Overrides:
getMethodDefinitionsCountin classDexElementNode
-
getMethodReferencesCount
public int getMethodReferencesCount()
- Overrides:
getMethodReferencesCountin classDexElementNode
-
update
public void update()
- Overrides:
updatein classDexElementNode
-
setSize
public void setSize(long size)
-
getSize
public long getSize()
Description copied from class:DexElementNodeReturns the private size of this dex node, i.e. size that can not shared with other nodes. Example of shared size that is not included in this value: strings in the string pool, annotation sets.- Specified by:
getSizein classDexElementNode- Returns:
- private size of node in bytes
-
-