// Path: auto-json-sample/src/main/java/model3/Person.java
// @AutoJson
// public abstract class Person implements Parcelable {
//   public static Person create(String name, long id, HeightBucket heightType, Map<String, Address> addresses,
//       List<Person> friends, Bitmap bitmap) {
//     return new AutoJson_Person(name, id, heightType, addresses, friends, bitmap);
//   }
// 
//   public abstract String name();
//   public abstract long id();
//   public abstract HeightBucket heightType();
//   public abstract Map<String, Address> addresses();
//   public abstract List<Person> friends();
//   @Nullable
//   public abstract Bitmap bitmap();
// }


import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
import model3.Person;
package auto.json.sample;


public class DetailActivity extends Activity {

  @Override protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_detail);
// Path: auto-json-sample/src/main/java/model3/Person.java
// @AutoJson
// public abstract class Person implements Parcelable {
//   public static Person create(String name, long id, HeightBucket heightType, Map<String, Address> addresses,
//       List<Person> friends, Bitmap bitmap) {
//     return new AutoJson_Person(name, id, heightType, addresses, friends, bitmap);
//   }
// 
//   public abstract String name();
//   public abstract long id();
//   public abstract HeightBucket heightType();
//   public abstract Map<String, Address> addresses();
//   public abstract List<Person> friends();
//   @Nullable
//   public abstract Bitmap bitmap();
// }


// Path: auto-json-sample/src/main/java/auto/json/sample/DetailActivity.java
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
import model3.Person;

package auto.json.sample;


public class DetailActivity extends Activity {

  @Override protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_detail);
    Person person = getIntent().getParcelableExtra("Person");