// Path: test-data-lib/src/main/java/com/test/MyView.java
// public interface MyView {
// }
// 
// Path: lifecyclebinder-api/src/main/java/it/codingjam/lifecyclebinder/DefaultLifeCycleAware.java
// public class DefaultLifeCycleAware<T> implements LifeCycleAware<T> {
//     @Override
//     public void onCreate(T view, Bundle savedInstanceState, Intent intent, Bundle arguments) {
//     }
// 
//     @Override
//     public void onStart(T view) {
//     }
// 
//     @Override
//     public void onResume(T view) {
//     }
// 
//     @Override
//     public boolean hasOptionsMenu(T view) {
//         return false;
//     }
// 
//     @Override
//     public void onCreateOptionsMenu(T view, Menu menu, MenuInflater inflater) {
//     }
// 
//     @Override
//     public boolean onOptionsItemSelected(T view, MenuItem item) {
//         return false;
//     }
// 
//     @Override
//     public void onPause(T view) {
//     }
// 
//     @Override
//     public void onStop(T view) {
//     }
// 
//     @Override
//     public void onSaveInstanceState(T view, Bundle bundle) {
//     }
// 
//     @Override
//     public void onDestroy(T view, boolean changingConfigurations) {
//     }
// 
//     @Override
//     public void onActivityResult(T view, int requestCode, int resultCode, Intent data) {
//     }
// 
//     @Override public void onViewCreated(T view, Bundle savedInstanceState) {
//     }
// 
//     @Override public void onDestroyView(T view) {
//     }
// }
// 
// Path: lifecyclebinder-api/src/main/java/it/codingjam/lifecyclebinder/LifeCycleAwareCollector.java
// public interface LifeCycleAwareCollector {
//     <R> R addRetainedFactory(String key, Callable<R> factory, boolean addInLifeCycleAwareList);
// 
//     void addLifeCycleAware(LifeCycleAware<?> lifeCycleAware);
// 
//     <R> R getOrCreate(R lifeCycleAware, String key, Callable<R> factory);
// }


import android.content.Intent;
import android.os.Bundle;
import com.test.MyView;
import it.codingjam.lifecyclebinder.DefaultLifeCycleAware;
import it.codingjam.lifecyclebinder.LifeCycleAwareCollector;
package com.test.retainedEvents;


public class MyObjectWithEvents1$LifeCycleBinder {

    public static MyObjectWithEvents1 bind(LifeCycleAwareCollector collector, final MyObjectWithEvents1 lifeCycleAware, boolean addInList) {
        if (addInList) {
            collector.addLifeCycleAware(new DefaultLifeCycleAware<MyView>() {
// Path: test-data-lib/src/main/java/com/test/MyView.java
// public interface MyView {
// }
// 
// Path: lifecyclebinder-api/src/main/java/it/codingjam/lifecyclebinder/DefaultLifeCycleAware.java
// public class DefaultLifeCycleAware<T> implements LifeCycleAware<T> {
//     @Override
//     public void onCreate(T view, Bundle savedInstanceState, Intent intent, Bundle arguments) {
//     }
// 
//     @Override
//     public void onStart(T view) {
//     }
// 
//     @Override
//     public void onResume(T view) {
//     }
// 
//     @Override
//     public boolean hasOptionsMenu(T view) {
//         return false;
//     }
// 
//     @Override
//     public void onCreateOptionsMenu(T view, Menu menu, MenuInflater inflater) {
//     }
// 
//     @Override
//     public boolean onOptionsItemSelected(T view, MenuItem item) {
//         return false;
//     }
// 
//     @Override
//     public void onPause(T view) {
//     }
// 
//     @Override
//     public void onStop(T view) {
//     }
// 
//     @Override
//     public void onSaveInstanceState(T view, Bundle bundle) {
//     }
// 
//     @Override
//     public void onDestroy(T view, boolean changingConfigurations) {
//     }
// 
//     @Override
//     public void onActivityResult(T view, int requestCode, int resultCode, Intent data) {
//     }
// 
//     @Override public void onViewCreated(T view, Bundle savedInstanceState) {
//     }
// 
//     @Override public void onDestroyView(T view) {
//     }
// }
// 
// Path: lifecyclebinder-api/src/main/java/it/codingjam/lifecyclebinder/LifeCycleAwareCollector.java
// public interface LifeCycleAwareCollector {
//     <R> R addRetainedFactory(String key, Callable<R> factory, boolean addInLifeCycleAwareList);
// 
//     void addLifeCycleAware(LifeCycleAware<?> lifeCycleAware);
// 
//     <R> R getOrCreate(R lifeCycleAware, String key, Callable<R> factory);
// }


// Path: test-data-lib/src/main/java/com/test/retainedEvents/MyObjectWithEvents1$LifeCycleBinder.java
import android.content.Intent;
import android.os.Bundle;
import com.test.MyView;
import it.codingjam.lifecyclebinder.DefaultLifeCycleAware;
import it.codingjam.lifecyclebinder.LifeCycleAwareCollector;

package com.test.retainedEvents;


public class MyObjectWithEvents1$LifeCycleBinder {

    public static MyObjectWithEvents1 bind(LifeCycleAwareCollector collector, final MyObjectWithEvents1 lifeCycleAware, boolean addInList) {
        if (addInList) {
            collector.addLifeCycleAware(new DefaultLifeCycleAware<MyView>() {
                public void onCreate(MyView argView, Bundle arg0, Intent arg1, Bundle arg2) {