Package jadx.core.dex.attributes.nodes
Class LoopInfo
- java.lang.Object
-
- jadx.core.dex.attributes.nodes.LoopInfo
-
public class LoopInfo extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockNodegetEnd()java.util.List<Edge>getExitEdges()Return loop exit edges.java.util.Set<BlockNode>getExitNodes()Return source blocks of exit edges.intgetId()java.util.Set<BlockNode>getLoopBlocks()LoopInfogetParentLoop()BlockNodegetPreHeader()BlockNodegetStart()booleanhasParent(LoopInfo searchLoop)voidsetId(int id)voidsetParentLoop(LoopInfo parentLoop)java.lang.StringtoString()
-
-
-
Method Detail
-
getStart
public BlockNode getStart()
-
getEnd
public BlockNode getEnd()
-
getLoopBlocks
public java.util.Set<BlockNode> getLoopBlocks()
-
getExitNodes
public java.util.Set<BlockNode> getExitNodes()
Return source blocks of exit edges.
Exit nodes belongs to loop (contains inloopBlocks)
-
getExitEdges
public java.util.List<Edge> getExitEdges()
Return loop exit edges.
-
getPreHeader
public BlockNode getPreHeader()
-
getId
public int getId()
-
setId
public void setId(int id)
-
getParentLoop
public LoopInfo getParentLoop()
-
setParentLoop
public void setParentLoop(LoopInfo parentLoop)
-
hasParent
public boolean hasParent(LoopInfo searchLoop)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-