Package jadx.core.dex.regions
Class SwitchRegion
java.lang.Object
jadx.core.dex.attributes.AttrNode
jadx.core.dex.regions.AbstractRegion
jadx.core.dex.regions.SwitchRegion
- All Implemented Interfaces:
IAttributeNode,IBranchRegion,IContainer,IRegion
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<SwitchRegion.CaseInfo> static final Objectprivate final BlockNode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCase(List<Object> keysList, IContainer c) Unique id for use in 'toString()' methodvoidgenerate(RegionGen regionGen, ICodeWriter code) Dispatch to needed generate method in RegionGenReturn list of branches in this region.getCases()toString()Methods inherited from class jadx.core.dex.regions.AbstractRegion
getParent, replaceSubBlock, setParent, updateParentMethods inherited from class jadx.core.dex.attributes.AttrNode
add, addAttr, addAttr, addAttr, addAttrs, clearAttributes, contains, contains, copyAttributeFrom, copyAttributesFrom, get, getAll, getAnnotation, getAttributesString, getAttributesStringsList, isAttrStorageEmpty, remove, remove, removeAttr, rewriteAttributeFrom, unloadAttributesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jadx.core.dex.attributes.IAttributeNode
add, addAttr, addAttr, addAttrs, clearAttributes, contains, contains, copyAttributeFrom, copyAttributesFrom, get, getAll, getAnnotation, getAttributesString, getAttributesStringsList, isAttrStorageEmpty, remove, remove, removeAttr, rewriteAttributeFromMethods inherited from interface jadx.core.dex.nodes.IRegion
getParent, replaceSubBlock, setParent
-
Field Details
-
DEFAULT_CASE_KEY
-
header
-
cases
-
-
Constructor Details
-
SwitchRegion
-
-
Method Details
-
getHeader
-
addCase
-
getCases
-
getCaseContainers
-
getSubBlocks
- Specified by:
getSubBlocksin interfaceIRegion
-
getBranches
Description copied from interface:IBranchRegionReturn list of branches in this region. NOTE: Contains 'null' elements for indicate empty branches.- Specified by:
getBranchesin interfaceIBranchRegion
-
generate
Description copied from interface:IContainerDispatch to needed generate method in RegionGen- Specified by:
generatein interfaceIContainer- Throws:
CodegenException
-
baseString
Description copied from interface:IContainerUnique id for use in 'toString()' method- Specified by:
baseStringin interfaceIContainer
-
toString
-