Class ClassLoaderModel
java.lang.Object
proguard.evaluation.value.object.model.ClassLoaderModel
- All Implemented Interfaces:
Model,ReflectiveModel<ClassLoaderModel>
-
Field Summary
Fields inherited from interface proguard.evaluation.value.object.model.reflective.ReflectiveModel
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull StringgetType()Returns the type of the modeled class.init(MethodExecutionInfo methodExecutionInfo, ValueCalculator valueCalculator) Execute a constructor call for the modeled class.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface proguard.evaluation.value.object.model.reflective.ReflectiveModel
invoke, invokeStatic
-
Constructor Details
-
ClassLoaderModel
public ClassLoaderModel()
-
-
Method Details
-
getType
Description copied from interface:ModelReturns the type of the modeled class. -
init
Description copied from interface: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.
- Specified by:
initin interfaceModel- Specified by:
initin interfaceReflectiveModel<ClassLoaderModel>- Parameters:
methodExecutionInfo- execution info of the target method.valueCalculator- the value calculator that should be used to create any value in the result.- Returns:
- 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.
-