private static boolean containsOnlyTransientAndStaticFields(List<Field> fields){
  boolean containsNormalField=false;
  for (  Field field : fields) {
    if (!Modifier.isTransient(field.getModifiers()) && !Modifier.isStatic(field.getModifiers())) {
      containsNormalField=true;
    }
  }
  return !containsNormalField;
}

private static boolean containsOnlyTransientAndStaticFields ( List < Field > fields ) { boolean containsNormalField = false ; for ( Field field : fields ) { if ( ! Modifier . isTransient ( field . getModifiers ( ) ) && ! Modifier . isStatic ( field . getModifiers ( ) ) ) { containsNormalField = true ; } } return ! containsNormalField ; }
only contains transient or static fields , which is the case for a model that is empty , but says it " implements parcelable "
