Class DoStatement
- java.lang.Object
-
- org.jetbrains.java.decompiler.modules.decompiler.stats.Statement
-
- org.jetbrains.java.decompiler.modules.decompiler.stats.DoStatement
-
- All Implemented Interfaces:
IMatchable
public final class DoStatement extends Statement
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDoStatement.Type-
Nested classes/interfaces inherited from class org.jetbrains.java.decompiler.modules.decompiler.stats.Statement
Statement.EdgeDirection, Statement.LastBasicType, Statement.StatementType
-
Nested classes/interfaces inherited from interface org.jetbrains.java.decompiler.struct.match.IMatchable
IMatchable.MatchProperties
-
-
Field Summary
-
Fields inherited from class org.jetbrains.java.decompiler.modules.decompiler.stats.Statement
containsMonitorExit, continueSet, exprents, first, id, isLastAthrow, isMonitorEnter, labelEdges, lastBasicType, parent, post, STATEDGE_ALL, STATEDGE_DIRECT_ALL, stats, type, varDefinitions
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ExprentgetConditionExprent()java.util.List<Exprent>getConditionExprentList()java.util.List<VarExprent>getImplicitlyDefinedVars()Gets the implicitly defined variables in this statement.ExprentgetIncExprent()java.util.List<Exprent>getIncExprentList()ExprentgetInitExprent()java.util.List<Exprent>getInitExprentList()DoStatement.TypegetLooptype()java.util.List<java.lang.Object>getSequentialObjects()StatementgetSimpleCopy()static StatementisHead(Statement head)voidreplaceExprent(Exprent oldexpr, Exprent newexpr)voidsetConditionExprent(Exprent conditionExprent)voidsetIncExprent(Exprent incExprent)voidsetInitExprent(Exprent initExprent)voidsetLooptype(DoStatement.Type looptype)TextBuffertoJava(int indent)-
Methods inherited from class org.jetbrains.java.decompiler.modules.decompiler.stats.Statement
addEdgeInternal, addLabeledEdge, addPredecessor, addSuccessor, buildContinueSet, buildMonitorFlags, changeEdgeNode, changeEdgeType, clearTempInformation, collapseNodesToStatement, containsMonitorExit, containsMonitorExitOrAthrow, containsStatement, containsStatementById, containsStatementStrict, containsStatementStrictById, findObject, getAllPredecessorEdges, getAllSuccessorEdges, getBasichead, getContinueSet, getExprents, getFirst, getFirstSuccessor, getLabelEdges, getLastBasicType, getNeighbours, getNeighboursSet, getOffset, getParent, getPost, getPostReversePostOrderList, getPostReversePostOrderList, getPredecessorEdges, getReversePostOrderList, getReversePostOrderList, getStartEndRange, getStats, getSuccessorEdges, getSuccessorEdgeView, getTopParent, getVarDefinitions, hasAnySuccessor, hasBasicSuccEdge, hasSuccessor, initExprents, initSimpleCopy, isCopied, isLabeled, isMonitorEnter, markMonitorexitDead, match, removeAllSuccessors, removeEdgeInternal, removePredecessor, removeSuccessor, replaceStatement, replaceWith, replaceWithEmpty, setAllParent, setCopied, setExprents, setFirst, setParent, toJava, toString
-
-
-
-
Method Detail
-
toJava
public TextBuffer toJava(int indent)
-
getSequentialObjects
public java.util.List<java.lang.Object> getSequentialObjects()
- Overrides:
getSequentialObjectsin classStatement
-
replaceExprent
public void replaceExprent(Exprent oldexpr, Exprent newexpr)
- Overrides:
replaceExprentin classStatement
-
getImplicitlyDefinedVars
public java.util.List<VarExprent> getImplicitlyDefinedVars()
Description copied from class:StatementGets the implicitly defined variables in this statement.- Overrides:
getImplicitlyDefinedVarsin classStatement- Returns:
- A list of
VarExprents that are implicitly defined. Can be null or empty if none exist.
-
getSimpleCopy
public Statement getSimpleCopy()
- Overrides:
getSimpleCopyin classStatement
-
getInitExprentList
public java.util.List<Exprent> getInitExprentList()
-
getConditionExprentList
public java.util.List<Exprent> getConditionExprentList()
-
getIncExprentList
public java.util.List<Exprent> getIncExprentList()
-
getConditionExprent
public Exprent getConditionExprent()
-
setConditionExprent
public void setConditionExprent(Exprent conditionExprent)
-
getIncExprent
public Exprent getIncExprent()
-
setIncExprent
public void setIncExprent(Exprent incExprent)
-
getInitExprent
public Exprent getInitExprent()
-
setInitExprent
public void setInitExprent(Exprent initExprent)
-
getLooptype
public DoStatement.Type getLooptype()
-
setLooptype
public void setLooptype(DoStatement.Type looptype)
-
-