package com.kickstarter.models;

import android.os.Parcel;
import android.os.Parcelable;

import com.hannesdorfmann.parcelableplease.annotation.ParcelablePlease;

@ParcelablePlease
public class User implements Parcelable {
  String name = null;

  public String name() { return name; }

  @Override
  public int describeContents() {
    return 0;
  }

  @Override
  public void writeToParcel(Parcel dest, int flags) {
    UserParcelablePlease.writeToParcel(this, dest, flags);
  }

  public static final Creator<User> CREATOR = new Creator<User>() {
    public User createFromParcel(Parcel source) {
      User target = new User();
      UserParcelablePlease.readFromParcel(target, source);
      return target;
    }

    public User[] newArray(int size) {
      return new User[size];
    }
  };
}

@@ -216,16 +216,37 @@
 lable %7B%0A
+  Integer id = null;%0A
   String
@@ -266,43 +266,473 @@
 %0A%0A  
-public String name() %7B return name;
+static User currentUser;%0A%0A  public Integer id() %7B return id; %7D%0A  public String name() %7B return name; %7D%0A%0A  public static void setCurrent(final User user) %7B%0A    currentUser = user;%0A  %7D%0A%0A  public static void unsetCurrent() %7B%0A    currentUser = null;%0A  %7D%0A%0A  public static User current() %7B%0A    return currentUser;%0A  %7D%0A%0A  public static boolean haveCurrent() %7B%0A    return currentUser != null;%0A  %7D%0A%0A  public boolean isCurrent() %7B%0A    return this.id == User.current().id();%0A 
  %7D%0A%0A

Add current user patterns