Class InvokeUpdateCallback
java.lang.Object
jadx.core.dex.visitors.typeinference.InvokeUpdateCallback
- All Implemented Interfaces:
ITypeUpdateCallback
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate final intprivate intprivate booleanprivate final BaseInvokeNodeprivate booleanprivate final TypeUpdateprivate InsnArgprivate final TypeUpdateInfoprivate ArgType -
Constructor Summary
ConstructorsConstructorDescriptionInvokeUpdateCallback(TypeUpdate typeUpdate, TypeUpdateInfo updateInfo, BaseInvokeNode invoke, int argsCount, Set<ArgType> knownTypeVars, Supplier<ArgType> getReturnType, Function<Integer, ArgType> getArgType) -
Method Summary
Modifier and TypeMethodDescriptionprivate @Nullable ArgTypeprivate booleanprivate @Nullable BooleanrunQueue()@Nullable TypeUpdateResultupdateCallback(TypeUpdateResult result) Called on type update result being calculated
-
Field Details
-
typeUpdate
-
updateInfo
-
invoke
-
argsCount
private final int argsCount -
knownTypeVars
-
getReturnType
-
getArgType
-
isAssign
private boolean isAssign -
allSame
private boolean allSame -
currentArg
private int currentArg -
updateArg
-
updateType
-
firstQueue
private boolean firstQueue
-
-
Constructor Details
-
InvokeUpdateCallback
public InvokeUpdateCallback(TypeUpdate typeUpdate, TypeUpdateInfo updateInfo, BaseInvokeNode invoke, int argsCount, Set<ArgType> knownTypeVars, Supplier<ArgType> getReturnType, Function<Integer, ArgType> getArgType)
-
-
Method Details
-
updateCallback
Description copied from interface:ITypeUpdateCallbackCalled on type update result being calculated- Specified by:
updateCallbackin interfaceITypeUpdateCallback- Parameters:
result- - type update result- Returns:
- modified result, can be null - will keep callback and wait for another result
-
runQueue
-
getNextArg
private boolean getNextArg() -
checkType
-
isUnknown
-