Class NewExprent
- java.lang.Object
-
- org.jetbrains.java.decompiler.modules.decompiler.exps.Exprent
-
- org.jetbrains.java.decompiler.modules.decompiler.exps.NewExprent
-
- All Implemented Interfaces:
IMatchable
public class NewExprent 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 NewExprent(VarType newType, java.util.List<Exprent> lstDims, java.util.BitSet bytecodeOffsets)NewExprent(VarType newType, ListStack<Exprent> stack, int arrayDim, java.util.BitSet bytecodeOffsets)
-
Method Summary
-
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, setIsQualifier, sortIndexed, toJava, toString
-
-
-
-
Method Detail
-
getExprType
public VarType getExprType()
- Overrides:
getExprTypein classExprent
-
getInferredExprType
public VarType getInferredExprType(VarType upperBound)
- 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)
-
probablySyntheticParameter
public static boolean probablySyntheticParameter(java.lang.String className)
-
doesClassHaveMethodsNamedSame
public boolean doesClassHaveMethodsNamedSame()
-
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
-
getConstructor
public InvocationExprent getConstructor()
-
setConstructor
public void setConstructor(InvocationExprent constructor)
-
getLstDims
public java.util.List<Exprent> getLstDims()
-
getNewType
public VarType getNewType()
-
getLstArrayElements
public java.util.List<Exprent> getLstArrayElements()
-
setLstArrayElements
public void setLstArrayElements(java.util.List<Exprent> lstArrayElements)
-
setDirectArrayInit
public void setDirectArrayInit(boolean directArrayInit)
-
isDirectArrayInit
public boolean isDirectArrayInit()
-
setVarArgParam
public void setVarArgParam(boolean isVarArgParam)
-
isLambda
public boolean isLambda()
-
isAnonymous
public boolean isAnonymous()
-
setAnonymous
public void setAnonymous(boolean anonymous)
-
setEnumConst
public void setEnumConst(boolean enumConst)
-
isMethodReference
public boolean isMethodReference()
-
getLambdaMethodKey
public java.lang.String getLambdaMethodKey()
-
setInvocationInstance
public void setInvocationInstance()
- Overrides:
setInvocationInstancein classExprent
-
-