Class InvocationExprent
- java.lang.Object
-
- org.jetbrains.java.decompiler.modules.decompiler.exps.Exprent
-
- org.jetbrains.java.decompiler.modules.decompiler.exps.InvocationExprent
-
- All Implemented Interfaces:
IMatchable
public class InvocationExprent extends Exprent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInvocationExprent.InvocationTypestatic classInvocationExprent.Type-
Nested classes/interfaces inherited from interface org.jetbrains.java.decompiler.struct.match.IMatchable
IMatchable.MatchProperties
-
-
Field Summary
Fields Modifier and Type Field Description booleanforceGenericQualfication-
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 InvocationExprent()InvocationExprent(int opcode, LinkConstant cn, LinkConstant bootstrapMethod, java.util.List<PooledConstant> bootstrapArguments, ListStack<? extends Exprent> stack, 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, getPrecedence, measureBytecode, measureBytecode, measureBytecode, sortIndexed, toJava, toString
-
-
-
-
Constructor Detail
-
InvocationExprent
public InvocationExprent()
-
InvocationExprent
public InvocationExprent(int opcode, LinkConstant cn, LinkConstant bootstrapMethod, java.util.List<PooledConstant> bootstrapArguments, ListStack<? extends Exprent> stack, java.util.BitSet bytecodeOffsets)
-
-
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
-
toJava
public TextBuffer toJava(int indent)
-
appendParamList
public TextBuffer appendParamList(int indent)
-
isBoxingCall
public boolean isBoxingCall()
-
markUsingBoxingResult
public void markUsingBoxingResult()
-
setIsQualifier
public void setIsQualifier()
- Overrides:
setIsQualifierin classExprent
-
isUnboxingCall
public boolean isUnboxingCall()
-
shouldForceBoxing
public boolean shouldForceBoxing()
-
forceUnboxing
public void forceUnboxing(boolean value)
-
shouldForceUnboxing
public boolean shouldForceUnboxing()
-
replaceExprent
public void replaceExprent(Exprent oldExpr, Exprent newExpr)
- Overrides:
replaceExprentin classExprent
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
getLstParameters
public java.util.List<Exprent> getLstParameters()
-
setLstParameters
public void setLstParameters(java.util.List<Exprent> lstParameters)
-
getDescriptor
public MethodDescriptor getDescriptor()
-
setDescriptor
public void setDescriptor(MethodDescriptor descriptor)
-
getClassname
public java.lang.String getClassname()
-
setClassname
public void setClassname(java.lang.String classname)
-
getFunctype
public InvocationExprent.Type getFunctype()
-
setFunctype
public void setFunctype(InvocationExprent.Type functype)
-
getInstance
public Exprent getInstance()
-
setInstance
public void setInstance(Exprent instance)
-
isStatic
public boolean isStatic()
-
setStatic
public void setStatic(boolean isStatic)
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getStringDescriptor
public java.lang.String getStringDescriptor()
-
setStringDescriptor
public void setStringDescriptor(java.lang.String stringDescriptor)
-
getInvocationType
public InvocationExprent.InvocationType getInvocationType()
-
getInvokeDynamicClassSuffix
public java.lang.String getInvokeDynamicClassSuffix()
-
getBootstrapMethod
public LinkConstant getBootstrapMethod()
-
getBootstrapArguments
public java.util.List<PooledConstant> getBootstrapArguments()
-
setSyntheticNullCheck
public void setSyntheticNullCheck()
-
isSyntheticNullCheck
public boolean isSyntheticNullCheck()
-
getGenericArgs
public java.util.List<VarType> getGenericArgs()
-
getDesc
public StructMethod getDesc()
-
setInvocationInstance
public void setInvocationInstance()
- Overrides:
setInvocationInstancein classExprent
-
getBytecodeRange
public void getBytecodeRange(java.util.BitSet values)
- Specified by:
getBytecodeRangein classExprent
-
markWasLazyCondy
public InvocationExprent markWasLazyCondy()
-
match
public boolean match(MatchNode matchNode, MatchEngine engine)
- Specified by:
matchin interfaceIMatchable- Overrides:
matchin classExprent
-
-