@Override
    public Boolean visitNoType(NoType noType, Void p) {
      if (noType.getKind().equals(TypeKind.VOID)) {
        return clazz.equals(Void.TYPE);
      }
      throw new IllegalArgumentException(noType + " cannot be represented as a Class<?>.");
    }
Returns true if the raw type underlying the given {@link TypeMirror} represents the same raw
type as the given {@link Class} and throws an IllegalArgumentException if the {@link
TypeMirror} does not represent a type that can be referenced by a {@link Class}
common/src/main/java/com/google/auto/common/MoreTypes.java