@@ -0,0 +1,579 @@
+package %7B%7B java-package %7D%7D;%0A%0Aimport javax.annotation.PostConstruct;%0Aimport javax.inject.Inject;%0A%0Aimport org.apache.sling.api.resource.Resource;%0Aimport org.apache.sling.models.annotations.Model;%0A%0A%0A@Model(adaptables = Resource.class)%0Apublic class %7B%7B java-class %7D%7D %7B%0A%0A  @Inject%0A  private String title;%0A%0A  /**%0A   * This is called after all the injection has occurred%0A   */%0A  @PostConstruct%0A  private void postConstructMethod() %7B%0A  %7D%0A%0A  /**%0A   * This getter exposes data Injected into the Model%0A   *%0A   * @return title%0A   */%0A  public String getTitle() %7B%0A    return this.title;%0A  %7D%0A%0A%7D%0A

rollback for SlingModel with annotations