Class SwitchExprent
- java.lang.Object
-
- org.jetbrains.java.decompiler.modules.decompiler.exps.Exprent
-
- org.jetbrains.java.decompiler.modules.decompiler.exps.SwitchExprent
-
- All Implemented Interfaces:
IMatchable
public class SwitchExprent extends Exprent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jetbrains.java.decompiler.modules.decompiler.exps.Exprent
Exprent.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
-
-
Constructor Summary
Constructors Constructor Description SwitchExprent(SwitchStatement backing, VarType type, boolean fallthrough, boolean standalone)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Exprentcopy()protected java.util.List<Exprent>getAllExprents(java.util.List<Exprent> list)voidgetBytecodeRange(java.util.BitSet values)VarTypegetExprType()intgetPrecedence()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, getGenericArgs, getInferredExprType, getNamedGenerics, match, measureBytecode, measureBytecode, measureBytecode, replaceExprent, setInvocationInstance, setIsQualifier, sortIndexed, toJava, toString
-
-
-
-
Constructor Detail
-
SwitchExprent
public SwitchExprent(SwitchStatement backing, VarType type, boolean fallthrough, boolean standalone)
-
-
Method Detail
-
toJava
public TextBuffer toJava(int indent)
-
getPrecedence
public int getPrecedence()
- Overrides:
getPrecedencein classExprent
-
getExprType
public VarType getExprType()
- Overrides:
getExprTypein classExprent
-
getAllExprents
protected java.util.List<Exprent> getAllExprents(java.util.List<Exprent> list)
- Specified by:
getAllExprentsin classExprent
-
getBytecodeRange
public void getBytecodeRange(java.util.BitSet values)
- Specified by:
getBytecodeRangein classExprent
-
-