Class IfExprent
- java.lang.Object
-
- org.jetbrains.java.decompiler.modules.decompiler.exps.Exprent
-
- org.jetbrains.java.decompiler.modules.decompiler.exps.IfExprent
-
- All Implemented Interfaces:
IMatchable
public class IfExprent extends Exprent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIfExprent.Type-
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.exps.Exprent
BOTH_FLAGS, bytecode, id, inferredLambdaTypes, MULTIPLE_USES, SIDE_EFFECTS_FREE, type
-
-
Constructor Summary
Constructors Constructor Description IfExprent(IfExprent.Type ifType, ListStack<Exprent> stack, java.util.BitSet bytecodeOffsets)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Exprentcopy()booleanequals(java.lang.Object o)java.util.List<Exprent>getAllExprents(java.util.List<Exprent> lst)voidgetBytecodeRange(java.util.BitSet values)ExprentgetCondition()IfExprentnegateIf()voidreplaceExprent(Exprent oldExpr, Exprent newExpr)voidsetCondition(Exprent condition)TextBuffertoJava(int indent)-
Methods inherited from class org.jetbrains.java.decompiler.modules.decompiler.exps.Exprent
addBytecodeOffsets, allowNewlineAfterQualifier, appendParameters, checkExprTypeBounds, containsExprent, containsVar, findObject, gatherGenerics, getAllExprents, getAllExprents, getAllExprents, getAllVariables, getExprentUse, getExprType, getGenericArgs, getInferredExprType, getNamedGenerics, getPrecedence, match, measureBytecode, measureBytecode, measureBytecode, setInvocationInstance, setIsQualifier, sortIndexed, toJava, toString
-
-
-
-
Constructor Detail
-
IfExprent
public IfExprent(IfExprent.Type ifType, ListStack<Exprent> stack, java.util.BitSet bytecodeOffsets)
-
-
Method Detail
-
getAllExprents
public java.util.List<Exprent> getAllExprents(java.util.List<Exprent> lst)
- Specified by:
getAllExprentsin classExprent
-
toJava
public TextBuffer toJava(int indent)
-
replaceExprent
public void replaceExprent(Exprent oldExpr, Exprent newExpr)
- Overrides:
replaceExprentin classExprent
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
negateIf
public IfExprent negateIf()
-
getCondition
public Exprent getCondition()
-
setCondition
public void setCondition(Exprent condition)
-
getBytecodeRange
public void getBytecodeRange(java.util.BitSet values)
- Specified by:
getBytecodeRangein classExprent
-
-