package com.kickstarter.factories;

import com.kickstarter.models.Category;

public final class CategoryFactory {
  private CategoryFactory() {}

  public static Category artCategory() {
    return Category.builder()
      .color(16760235)
      .id(1)
      .name("Art")
      .position(1)
      .projectsCount(367)
      .slug("art")
      .build();
  }

  public static Category bluesCategory() {
    return Category.builder()
      .color(10878931)
      .id(316)
      .name("Blues")
      .parent(musicCategory())
      .parentId(musicCategory().id())
      .position(1)
      .projectsCount(5)
      .slug("music/blues")
      .build();
  }

  public static Category ceramicsCategory() {
    return Category.builder()
      .color(16760235)
      .id(287)
      .name("Ceramics")
      .parent(artCategory())
      .parentId(artCategory().id())
      .position(1)
      .projectsCount(6)
      .slug("art/ceramics")
      .build();
  }

  public static Category musicCategory() {
    return Category.builder()
      .color(10878931)
      .id(14)
      .name("Music")
      .position(11)
      .projectsCount(641)
      .slug("music")
      .build();
  }

  public static Category photographyCategory() {
    return Category.builder()
      .color(58341)
      .id(12)
      .name("Photography")
      .position(12)
      .projectsCount(160)
      .slug("photography")
      .build();
  }

  public static Category textilesCategory() {
    return Category.builder()
      .color(16760235)
      .id(289)
      .name("Textiles")
      .parent(artCategory())
      .parentId(artCategory().id())
      .position(11)
      .projectsCount(7)
      .slug("art/textiles")
      .build();
  }

  public static Category worldMusicCategory() {
    return Category.builder()
      .color(10878931)
      .id(44)
      .name("World Music")
      .parent(musicCategory())
      .parentId(musicCategory().id())
      .position(17)
      .projectsCount(28)
      .slug("music/world music")
      .build();
  }
}

@@ -29,16 +29,60 @@
 ories;%0A%0A
+import android.support.annotation.NonNull;%0A%0A
 import c
@@ -113,16 +113,16 @@
 tegory;%0A
-
 %0Apublic 
@@ -191,32 +191,41 @@
   public static 
+@NonNull 
 Category artCate
@@ -411,32 +411,41 @@
   public static 
+@NonNull 
 Category bluesCa
@@ -712,32 +712,41 @@
   public static 
+@NonNull 
 Category ceramic
@@ -1016,32 +1016,41 @@
   public static 
+@NonNull 
 Category musicCa
@@ -1244,32 +1244,41 @@
   public static 
+@NonNull 
 Category photogr
@@ -1487,32 +1487,41 @@
   public static 
+@NonNull 
 Category textile
@@ -1776,32 +1776,32 @@
  .build();%0A  %7D%0A%0A
-
   public static 
@@ -1800,16 +1800,25 @@
  static 
+@NonNull 
 Category

Return @NonNull category