Package jadx.core.dex.regions.conditions
Class IfRegion
java.lang.Object
jadx.core.dex.attributes.AttrNode
jadx.core.dex.regions.AbstractRegion
jadx.core.dex.regions.conditions.ConditionRegion
jadx.core.dex.regions.conditions.IfRegion
- All Implemented Interfaces:
IAttributeNode,IBranchRegion,IConditionRegion,IContainer,IRegion
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionUnique id for use in 'toString()' methodvoidgenerate(RegionGen regionGen, ICodeWriter code) Dispatch to needed generate method in RegionGenReturn list of branches in this region.intvoidinvert()booleanreplaceSubBlock(IContainer oldBlock, IContainer newBlock) voidsetElseRegion(IContainer elseRegion) voidsetThenRegion(IContainer thenRegion) toString()Methods inherited from class jadx.core.dex.regions.conditions.ConditionRegion
getCondition, getConditionBlocks, getConditionSourceLine, invertCondition, simplifyCondition, updateCondition, updateCondition, updateConditionMethods inherited from class jadx.core.dex.regions.AbstractRegion
getParent, 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, rewriteAttributeFrom
-
Field Details
-
thenRegion
-
elseRegion
-
-
Constructor Details
-
IfRegion
-
-
Method Details
-
getThenRegion
-
setThenRegion
-
getElseRegion
-
setElseRegion
-
invert
public void invert() -
getSourceLine
public int getSourceLine() -
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
-
replaceSubBlock
- Specified by:
replaceSubBlockin interfaceIRegion- Overrides:
replaceSubBlockin classAbstractRegion
-
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
-