Class DexClassNode
- java.lang.Object
-
- javax.swing.tree.DefaultMutableTreeNode
-
- com.android.tools.apk.analyzer.dex.tree.DexElementNode
-
- com.android.tools.apk.analyzer.dex.tree.DexClassNode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,javax.swing.tree.MutableTreeNode,javax.swing.tree.TreeNode
public class DexClassNode extends DexElementNode
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DexClassNode(java.lang.String displayName, org.jf.dexlib2.immutable.reference.ImmutableTypeReference reference)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jf.dexlib2.iface.reference.TypeReferencegetReference()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, getMethodDefinitionsCount, getMethodReferencesCount, 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
-
isSeed
public boolean isSeed(@Nullable com.android.tools.proguard.ProguardSeedsMap seedsMap, @Nullable com.android.tools.proguard.ProguardMap map, boolean checkChildren)- Overrides:
isSeedin classDexElementNode
-
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
-
setSize
public void setSize(long size)
-
getReference
@Nullable public org.jf.dexlib2.iface.reference.TypeReference getReference()
- Overrides:
getReferencein classDexElementNode
-
update
public void update()
- Overrides:
updatein classDexElementNode
-
-