code: private static boolean equalsQualifiedName(PDescriptor a, PDescriptor b) {
          return (a != null) && (b != null) && (a.getQualifiedName()
                                                 .equals(b.getQualifiedName()));
      }
docs: Check if the two descriptors has the same qualified name, i..e
  symbolically represent the same type.
  
  @param a The first type.
  @param b The second type.
  @return If the two types are the same.