Class TypeBoundInvokeAssign
java.lang.Object
jadx.core.dex.visitors.typeinference.TypeBoundInvokeAssign
- All Implemented Interfaces:
ITypeBound,ITypeBoundDynamic
Special dynamic bound for invoke with generics.
Bound type calculated using instance generic type.
TODO: also can depends on argument types
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ArgTypeprivate final InvokeNodeprivate final RootNode -
Constructor Summary
ConstructorsConstructorDescriptionTypeBoundInvokeAssign(RootNode root, InvokeNode invokeNode, ArgType genericReturnType) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetArg()getBound()private InsnArgprivate ArgTypegetReturnType(ArgType instanceType) getType()getType(TypeUpdateInfo updateInfo) This method will be executed instead ofITypeBound.getType()ifTypeUpdateInfois available.inthashCode()private @Nullable ArgTypeprocessResultType(@Nullable ArgType resultGeneric) toString()
-
Field Details
-
root
-
invokeNode
-
genericReturnType
-
-
Constructor Details
-
TypeBoundInvokeAssign
-
-
Method Details
-
getBound
- Specified by:
getBoundin interfaceITypeBound
-
getType
Description copied from interface:ITypeBoundDynamicThis method will be executed instead ofITypeBound.getType()ifTypeUpdateInfois available.- Specified by:
getTypein interfaceITypeBoundDynamic
-
getType
- Specified by:
getTypein interfaceITypeBound
-
getReturnType
-
processResultType
-
getInstanceArg
-
getArg
- Specified by:
getArgin interfaceITypeBound
-
equals
-
hashCode
public int hashCode() -
toString
-