public static boolean areEquivalent(final TypeReference a,final TypeReference b){
  return areEquivalent(a,b,true);
}

public static boolean areEquivalent ( final TypeReference a , final TypeReference b ) { return areEquivalent ( a , b , true ) ; }
returns whether two type references refer to the same type . note that a parameterized type will not match its corresponding raw type ( but a generic definition will match its raw type ) .
