private boolean erasedTypeIs(TypeMirror type, TypeElement baseType) {
      return type.getKind().equals(TypeKind.DECLARED)
          && MoreTypes.asDeclared(type).asElement().equals(baseType);
    }
Representation of an {@code AutoValue.Builder} class or interface.
value/src/main/java/com/google/auto/value/processor/BuilderSpec.java