Class FunctionExprent
- java.lang.Object
-
- org.jetbrains.java.decompiler.modules.decompiler.exps.Exprent
-
- org.jetbrains.java.decompiler.modules.decompiler.exps.FunctionExprent
-
- All Implemented Interfaces:
IMatchable
public class FunctionExprent extends Exprent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFunctionExprent.FunctionType-
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 FunctionExprent(FunctionExprent.FunctionType funcType, java.util.List<Exprent> operands, java.util.BitSet bytecodeOffsets)FunctionExprent(FunctionExprent.FunctionType funcType, Exprent operand, java.util.BitSet bytecodeOffsets)FunctionExprent(FunctionExprent.FunctionType funcType, ListStack<Exprent> stack, java.util.BitSet bytecodeOffsets)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallowNewlineAfterQualifier()CheckTypesResultcheckExprTypeBounds()Exprentcopy()booleandoesCast()booleanequals(java.lang.Object o)java.util.List<Exprent>getAllExprents(java.util.List<Exprent> lst)voidgetBytecodeRange(java.util.BitSet values)intgetExprentUse()VarTypegetExprType()FunctionExprent.FunctionTypegetFuncType()VarTypegetInferredExprType(VarType upperBound)java.util.List<Exprent>getLstOperands()intgetPrecedence()VarTypegetSimpleCastType()booleanmatch(MatchNode matchNode, MatchEngine engine)voidreplaceExprent(Exprent oldExpr, Exprent newExpr)voidsetFuncType(FunctionExprent.FunctionType funcType)voidsetImplicitType(VarType implicitType)voidsetInvocationInstance()voidsetIsQualifier()voidsetNeedsCast(boolean needsCast)TextBuffertoJava(int indent)voidunwrapBox()-
Methods inherited from class org.jetbrains.java.decompiler.modules.decompiler.exps.Exprent
addBytecodeOffsets, appendParameters, containsExprent, containsVar, findObject, gatherGenerics, getAllExprents, getAllExprents, getAllExprents, getAllVariables, getGenericArgs, getNamedGenerics, measureBytecode, measureBytecode, measureBytecode, sortIndexed, toJava, toString
-
-
-
-
Constructor Detail
-
FunctionExprent
public FunctionExprent(FunctionExprent.FunctionType funcType, ListStack<Exprent> stack, java.util.BitSet bytecodeOffsets)
-
FunctionExprent
public FunctionExprent(FunctionExprent.FunctionType funcType, java.util.List<Exprent> operands, java.util.BitSet bytecodeOffsets)
-
FunctionExprent
public FunctionExprent(FunctionExprent.FunctionType funcType, Exprent operand, java.util.BitSet bytecodeOffsets)
-
-
Method Detail
-
getExprType
public VarType getExprType()
- Overrides:
getExprTypein classExprent
-
getInferredExprType
public VarType getInferredExprType(VarType upperBound)
- Overrides:
getInferredExprTypein classExprent
-
getExprentUse
public int getExprentUse()
- Overrides:
getExprentUsein classExprent
-
checkExprTypeBounds
public CheckTypesResult checkExprTypeBounds()
- Overrides:
checkExprTypeBoundsin classExprent
-
getAllExprents
public java.util.List<Exprent> getAllExprents(java.util.List<Exprent> lst)
- Specified by:
getAllExprentsin classExprent
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
replaceExprent
public void replaceExprent(Exprent oldExpr, Exprent newExpr)
- Overrides:
replaceExprentin classExprent
-
toJava
public TextBuffer toJava(int indent)
-
unwrapBox
public void unwrapBox()
-
getPrecedence
public int getPrecedence()
- Overrides:
getPrecedencein classExprent
-
getSimpleCastType
public VarType getSimpleCastType()
-
getFuncType
public FunctionExprent.FunctionType getFuncType()
-
setFuncType
public void setFuncType(FunctionExprent.FunctionType funcType)
-
getLstOperands
public java.util.List<Exprent> getLstOperands()
-
setImplicitType
public void setImplicitType(VarType implicitType)
-
doesCast
public boolean doesCast()
-
setNeedsCast
public void setNeedsCast(boolean needsCast)
-
setInvocationInstance
public void setInvocationInstance()
- Overrides:
setInvocationInstancein classExprent
-
setIsQualifier
public void setIsQualifier()
- Overrides:
setIsQualifierin classExprent
-
allowNewlineAfterQualifier
public boolean allowNewlineAfterQualifier()
- Overrides:
allowNewlineAfterQualifierin classExprent
-
getBytecodeRange
public void getBytecodeRange(java.util.BitSet values)
- Specified by:
getBytecodeRangein classExprent
-
match
public boolean match(MatchNode matchNode, MatchEngine engine)
- Specified by:
matchin interfaceIMatchable- Overrides:
matchin classExprent
-
-