◆ findSubClassParameterType()
static Class<?> fiftyone.pipeline.util.Types.findSubClassParameterType | ( | Object | instance, |
Class<?> | classOfInterest, | ||
int | parameterIndex | ||
) |
static
Get the type parameter of a class in relation to a parent class.
- Parameters
-
- instance - to get the type parameter of
- classOfInterest - a class above instance in the the inheritance hierarchy which the type of instance defines a generic type parameter of
- parameterIndex - index in the list of type parameters
- Returns
- the parameter type, or null if it could not be determined