searchTemplateScopeForDefinedParameterizedTypes

Searches for ParameterizedType if the scope is a TemplateScope. If not we search the parent scope until we reach the top.

Return

ParameterizedType that is found within the scope (or any parent scope) and matches the provided name. Null if we reach the top of the scope without finding a matching ParameterizedType

Parameters

scope

in which we are searching for the defined ParameterizedTypes

name

of the ParameterizedType