Class BasicBlockStatement
- java.lang.Object
-
- org.jetbrains.java.decompiler.modules.decompiler.stats.Statement
-
- org.jetbrains.java.decompiler.modules.decompiler.stats.BasicBlockStatement
-
- All Implemented Interfaces:
IMatchable
public final class BasicBlockStatement extends Statement
-
-
Nested Class Summary
-
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
-
-
Constructor Summary
Constructors Constructor Description BasicBlockStatement(BasicBlock block)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BasicBlockStatementcreate()BasicBlockgetBlock()java.util.List<VarExprent>getImplicitlyDefinedVars()Gets the implicitly defined variables in this statement.StatementgetSimpleCopy()StartEndPairgetStartEndRange()booleanisRemovableMonitorexit()voidreplaceExprent(Exprent oldexpr, Exprent newexpr)voidsetRemovableMonitorexit(boolean removableMonitorexit)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, getSequentialObjects, 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
-
-
-
-
Constructor Detail
-
BasicBlockStatement
public BasicBlockStatement(BasicBlock block)
-
-
Method Detail
-
toJava
public TextBuffer toJava(int indent)
-
getSimpleCopy
public Statement getSimpleCopy()
- Overrides:
getSimpleCopyin 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.
-
isRemovableMonitorexit
public boolean isRemovableMonitorexit()
-
setRemovableMonitorexit
public void setRemovableMonitorexit(boolean removableMonitorexit)
-
create
public static BasicBlockStatement create()
-
getBlock
public BasicBlock getBlock()
-
replaceExprent
public void replaceExprent(Exprent oldexpr, Exprent newexpr)
- Overrides:
replaceExprentin classStatement
-
getStartEndRange
public StartEndPair getStartEndRange()
- Overrides:
getStartEndRangein classStatement
-
-