Package jadx.core.dex.visitors.finaly
Class TryCatchEdgeBlockMap
java.lang.Object
jadx.core.dex.visitors.finaly.TryCatchEdgeBlockMap
A map containing all edges within a try catch block as the key and all blocks that the
respective edge can traverse to within the "scope" of that edge (relative to the
entire try / catch).
-
Nested Class Summary
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleananyBlockHasNonImplicitTry(List<BlockNode> blocks) voidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()static TryCatchEdgeBlockMapgetAllInScope(MethodNode mth, TryCatchBlockAttr tryCatch, TryEdgeScopeGroupMap scopeGroups, ExceptionHandler finallyHandler, Map<BlockNode, List<TryEdge>> scopeTerminusGroups) getBlocksForHandler(ExceptionHandler handler) booleanisEmpty()keySet()voidintsize()values()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
underlying
-
-
Constructor Details
-
TryCatchEdgeBlockMap
public TryCatchEdgeBlockMap()
-
-
Method Details
-
anyBlockHasNonImplicitTry
-
getAllInScope
public static TryCatchEdgeBlockMap getAllInScope(MethodNode mth, TryCatchBlockAttr tryCatch, TryEdgeScopeGroupMap scopeGroups, ExceptionHandler finallyHandler, Map<BlockNode, List<TryEdge>> scopeTerminusGroups) -
clear
public void clear() -
containsKey
- Specified by:
containsKeyin interfaceMap<TryEdge,List<BlockNode>>
-
containsValue
- Specified by:
containsValuein interfaceMap<TryEdge,List<BlockNode>>
-
entrySet
-
get
-
isEmpty
public boolean isEmpty() -
keySet
-
put
-
putAll
-
remove
-
size
public int size() -
values
-
getBlocksForHandler
-
getBlocksForAllFallthroughs
-