// Path: aircycle-api/src/main/java/com/github/simonpercic/aircycle/ActivityLifecycle.java
// public final class ActivityLifecycle {
// 
//     @IntDef({CREATE, START, RESUME, PAUSE, STOP, SAVE_INSTANCE_STATE, DESTROY})
//     @Retention(RetentionPolicy.SOURCE)
//     public @interface ActivityLifecycleEvent {
//     }
// 
//     public static final int CREATE = 1;
//     public static final int START = 2;
//     public static final int RESUME = 3;
//     public static final int PAUSE = 4;
//     public static final int STOP = 5;
//     public static final int SAVE_INSTANCE_STATE = 6;
//     public static final int DESTROY = 7;
// 
//     private ActivityLifecycle() {
//         // no instance
//     }
// }
// 
// Path: aircycle-compiler/src/main/java/com/github/simonpercic/aircycle/model/type/ActivityLifecycleType.java
// public enum ActivityLifecycleType {
//     CREATE,
//     START,
//     RESUME,
//     PAUSE,
//     STOP,
//     SAVE_INSTANCE_STATE,
//     DESTROY
// }


import com.github.simonpercic.aircycle.ActivityLifecycle;
import com.github.simonpercic.aircycle.model.type.ActivityLifecycleType;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Locale;
import javax.inject.Inject;
import javax.inject.Singleton;
import javax.lang.model.element.TypeElement;
import javax.lang.model.element.VariableElement;
                        enclosingElement.getQualifiedName(),
                        value);

                logger.e(message, enclosingElement);
                return null;
            }

            result.add(activityLifecycle);
        }

        return result;
    }

    private static ActivityLifecycleType fromInt(int value) {
        switch (value) {
            case ActivityLifecycle.CREATE:
                return ActivityLifecycleType.CREATE;
            case ActivityLifecycle.START:
                return ActivityLifecycleType.START;
            case ActivityLifecycle.RESUME:
                return ActivityLifecycleType.RESUME;
            case ActivityLifecycle.PAUSE:
                return ActivityLifecycleType.PAUSE;
            case ActivityLifecycle.STOP:
                return ActivityLifecycleType.STOP;
            case ActivityLifecycle.SAVE_INSTANCE_STATE:
                return ActivityLifecycleType.SAVE_INSTANCE_STATE;
            case ActivityLifecycle.DESTROY:
                return ActivityLifecycleType.DESTROY;
            default:
// Path: aircycle-api/src/main/java/com/github/simonpercic/aircycle/ActivityLifecycle.java
// public final class ActivityLifecycle {
// 
//     @IntDef({CREATE, START, RESUME, PAUSE, STOP, SAVE_INSTANCE_STATE, DESTROY})
//     @Retention(RetentionPolicy.SOURCE)
//     public @interface ActivityLifecycleEvent {
//     }
// 
//     public static final int CREATE = 1;
//     public static final int START = 2;
//     public static final int RESUME = 3;
//     public static final int PAUSE = 4;
//     public static final int STOP = 5;
//     public static final int SAVE_INSTANCE_STATE = 6;
//     public static final int DESTROY = 7;
// 
//     private ActivityLifecycle() {
//         // no instance
//     }
// }
// 
// Path: aircycle-compiler/src/main/java/com/github/simonpercic/aircycle/model/type/ActivityLifecycleType.java
// public enum ActivityLifecycleType {
//     CREATE,
//     START,
//     RESUME,
//     PAUSE,
//     STOP,
//     SAVE_INSTANCE_STATE,
//     DESTROY
// }


// Path: aircycle-compiler/src/main/java/com/github/simonpercic/aircycle/manager/ActivityLifecycleConverter.java
import com.github.simonpercic.aircycle.ActivityLifecycle;
import com.github.simonpercic.aircycle.model.type.ActivityLifecycleType;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Locale;
import javax.inject.Inject;
import javax.inject.Singleton;
import javax.lang.model.element.TypeElement;
import javax.lang.model.element.VariableElement;

                        enclosingElement.getQualifiedName(),
                        value);

                logger.e(message, enclosingElement);
                return null;
            }

            result.add(activityLifecycle);
        }

        return result;
    }

    private static ActivityLifecycleType fromInt(int value) {
        switch (value) {
            case ActivityLifecycle.CREATE:
                return ActivityLifecycleType.CREATE;
            case ActivityLifecycle.START:
                return ActivityLifecycleType.START;
            case ActivityLifecycle.RESUME:
                return ActivityLifecycleType.RESUME;
            case ActivityLifecycle.PAUSE:
                return ActivityLifecycleType.PAUSE;
            case ActivityLifecycle.STOP:
                return ActivityLifecycleType.STOP;
            case ActivityLifecycle.SAVE_INSTANCE_STATE:
                return ActivityLifecycleType.SAVE_INSTANCE_STATE;
            case ActivityLifecycle.DESTROY:
                return ActivityLifecycleType.DESTROY;
            default:
                return null;