if (binding instanceof TypeVariableBinding) {
TypeVariableBinding tvb = (TypeVariableBinding) binding;
return get(tvb.erasure());
} else if (binding instanceof ParameterizedTypeBinding) {
ParameterizedTypeBinding ptb = (ParameterizedTypeBinding) binding;
return get(ptb.erasure());
} else if (binding instanceof ParameterizedMethodBinding) {
ParameterizedMethodBinding pmb = (ParameterizedMethodBinding) binding;
return get(pmb.original());
} else if (binding instanceof ParameterizedFieldBinding) {
ParameterizedFieldBinding pfb = (ParameterizedFieldBinding) binding;