类 ArrayModel
- java.lang.Object
-
- proguard.evaluation.value.object.model.ArrayModel
-
-
构造器概要
构造器 构造器 说明 ArrayModel(Value[] values, java.lang.String type)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanequals(java.lang.Object o)@NotNull java.lang.StringgetType()Returns the type of the modeled class.Value[]getValues()inthashCode()MethodResultinit(MethodExecutionInfo methodExecutionInfo, ValueCalculator valueCalculator)Execute a constructor call for the modeled class.MethodResultinvoke(MethodExecutionInfo methodExecutionInfo, ValueCalculator valueCalculator)Execute an instance method on the modeled object.MethodResultinvokeStatic(MethodExecutionInfo methodExecutionInfo, ValueCalculator valueCalculator)Execute a static method for the modeled class.java.lang.StringtoString()
-
-
-
构造器详细资料
-
ArrayModel
public ArrayModel(Value[] values, java.lang.String type)
-
-
方法详细资料
-
getValues
public Value[] getValues()
-
getType
@NotNull public @NotNull java.lang.String getType()
从接口复制的说明:ModelReturns the type of the modeled class.
-
init
public MethodResult init(MethodExecutionInfo methodExecutionInfo, ValueCalculator valueCalculator)
从接口复制的说明:ModelExecute a constructor call for the modeled class.It is suggested to add logic to allow running this only on a dummy model without any state.
- 指定者:
init在接口中Model- 参数:
methodExecutionInfo- execution info of the target method.valueCalculator- the value calculator that should be used to create any value in the result.- 返回:
- the result of the method invocation. Since it's a constructor invocation the return value of the result is expected to be empty and the constructed value should be set as the updated instance.
-
invoke
public MethodResult invoke(MethodExecutionInfo methodExecutionInfo, ValueCalculator valueCalculator)
从接口复制的说明:ModelExecute an instance method on the modeled object. The state of the instance is represented by the state of the model.It is suggested to add logic to allow running this only on a model representing an initialized object.
-
invokeStatic
public MethodResult invokeStatic(MethodExecutionInfo methodExecutionInfo, ValueCalculator valueCalculator)
从接口复制的说明:ModelExecute a static method for the modeled class.It is suggested to add logic to allow running this only on a dummy model without any state.
- 指定者:
invokeStatic在接口中Model- 参数:
methodExecutionInfo- execution info of the target method.valueCalculator- the value calculator that should be used to create any value in the result.- 返回:
- the result of the method invocation.
-
equals
public boolean equals(java.lang.Object o)
- 覆盖:
equals在类中java.lang.Object
-
hashCode
public int hashCode()
- 覆盖:
hashCode在类中java.lang.Object
-
toString
public java.lang.String toString()
- 覆盖:
toString在类中java.lang.Object
-
-