}
}
}
private void processType(TypeElement type) {
AutoValue autoValue = type.getAnnotation(AutoValue.class);
if (autoValue == null) {
// This shouldn't happen unless the compilation environment is buggy,
// but it has happened in the past and can crash the compiler.
abortWithError("annotation processor for @AutoValue was invoked with a type that "
+ "does not have that annotation; this is probably a compiler bug", type);