static Type getRawType ( Type genericType , Map < TypeVariable , Type > typeVariableMap ) { Type resolvedType = genericType ; if ( genericType instanceof TypeVariable ) { TypeVariable tv = ( TypeVariable ) genericType ; resolvedType = typeVariableMap . get ( tv ) ; if ( resolvedType == null ) { resolvedType = extractBoundForTypeVariable ( tv ) ; } } if ( resolvedType instanceof ParameterizedType ) { return ( ( ParameterizedType ) resolvedType ) . getRawType ( ) ; } else { return resolvedType ; } }
Determine the raw type for the given generic parameter type .