Class AssignmentExprent
- java.lang.Object
-
- org.jetbrains.java.decompiler.modules.decompiler.exps.Exprent
-
- org.jetbrains.java.decompiler.modules.decompiler.exps.AssignmentExprent
-
- All Implemented Interfaces:
IMatchable
public class AssignmentExprent 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, type
-
-
Constructor Summary
Constructors Constructor Description AssignmentExprent(Exprent left, Exprent right, java.util.BitSet bytecodeOffsets)AssignmentExprent(Exprent left, Exprent right, FunctionExprent.FunctionType condType, java.util.BitSet bytecodeOffsets)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CheckTypesResultcheckExprTypeBounds()Exprentcopy()booleanequals(java.lang.Object o)java.util.List<Exprent>getAllExprents(java.util.List<Exprent> lst)voidgetBytecodeRange(java.util.BitSet values)FunctionExprent.FunctionTypegetCondType()the type of assignment, eg=,+=,-=, etc.VarTypegetExprType()VarTypegetInferredExprType(VarType upperBounds)ExprentgetLeft()intgetPrecedence()ExprentgetRight()voidreplaceExprent(Exprent oldExpr, Exprent newExpr)voidsetCondType(FunctionExprent.FunctionType condType)voidsetRight(Exprent right)TextBuffertoJava(int indent)-
Methods inherited from class org.jetbrains.java.decompiler.modules.decompiler.exps.Exprent
addBytecodeOffsets, allowNewlineAfterQualifier, appendParameters, containsExprent, containsVar, findObject, gatherGenerics, getAllExprents, getAllExprents, getAllExprents, getAllVariables, getExprentUse, getGenericArgs, getNamedGenerics, match, measureBytecode, measureBytecode, measureBytecode, setInvocationInstance, setIsQualifier, sortIndexed, toJava, toString
-
-
-
-
Constructor Detail
-
AssignmentExprent
public AssignmentExprent(Exprent left, Exprent right, java.util.BitSet bytecodeOffsets)
-
AssignmentExprent
public AssignmentExprent(Exprent left, Exprent right, FunctionExprent.FunctionType condType, java.util.BitSet bytecodeOffsets)
-
-
Method Detail
-
getExprType
public VarType getExprType()
- Overrides:
getExprTypein classExprent
-
getInferredExprType
public VarType getInferredExprType(VarType upperBounds)
- Overrides:
getInferredExprTypein classExprent
-
checkExprTypeBounds
public CheckTypesResult checkExprTypeBounds()
- Overrides:
checkExprTypeBoundsin classExprent
-
getAllExprents
public java.util.List<Exprent> getAllExprents(java.util.List<Exprent> lst)
- Specified by:
getAllExprentsin classExprent
-
getPrecedence
public int getPrecedence()
- Overrides:
getPrecedencein 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
-
getBytecodeRange
public void getBytecodeRange(java.util.BitSet values)
- Specified by:
getBytecodeRangein classExprent
-
getLeft
public Exprent getLeft()
-
getRight
public Exprent getRight()
-
setRight
public void setRight(Exprent right)
-
getCondType
public FunctionExprent.FunctionType getCondType()
the type of assignment, eg=,+=,-=, etc.
-
setCondType
public void setCondType(FunctionExprent.FunctionType condType)
-
-