public static Class<?> resolveGenericParameter(Type paramType,
Map<String, Type> typeArgsMap,
AtomicReference<Type[]> methodGenericTypeArgs) {
Class<?> parameterType = null;
Map<String, Type> localMap = new HashMap<String, Type>(typeArgsMap);
<BUG>methodGenericTypeArgs.set(PodamConstants.NO_TYPES);
if (paramType instanceof TypeVariable<?>) {
</BUG>
final TypeVariable<?> typeVariable = (TypeVariable<?>) paramType;
final Type type = localMap.get(typeVariable.getName());

public static Class<?> resolveGenericParameter(Type paramType,
Map<String, Type> typeArgsMap,
AtomicReference<Type[]> methodGenericTypeArgs) {
Class<?> parameterType = null;
Map<String, Type> localMap = new HashMap<String, Type>(typeArgsMap);
methodGenericTypeArgs.set(PodamConstants.NO_TYPES);
if (paramType instanceof Class) {
parameterType = (Class<?>) paramType;
} else if (paramType instanceof TypeVariable<?>) {
final TypeVariable<?> typeVariable = (TypeVariable<?>) paramType;
final Type type = localMap.get(typeVariable.getName());
