@Nullable static VariableElement findCreator(Elements elements, Types types, TypeMirror type) {
    if (type.getKind() != TypeKind.DECLARED) {
      return null;
    }
    DeclaredType declaredType = (DeclaredType) type;
    TypeElement typeElement = (TypeElement) declaredType.asElement();
    return findCreator(elements, types, typeElement);
  }
@ Nullable static VariableElement findCreator ( Elements elements , Types types , TypeMirror type ) { if ( type . getKind ( ) != TypeKind . DECLARED ) { return null ; } DeclaredType declaredType = ( DeclaredType ) type ; TypeElement typeElement = ( TypeElement ) declaredType . asElement ( ) ; return findCreator ( elements , types , typeElement ) ; }
If {@code type} has a {@code Parcelable.Creator} field instance, return it.