// 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;
package com.github.simonpercic.aircycle.manager;




/**
 * Activity lifecycle converter manager.
 *
 * @author Simon Percic <a href="https://github.com/simonpercic">https://github.com/simonpercic</a>
 */
@Singleton
public class ActivityLifecycleConverter {

    private final ProcessorLogger logger;

    @Inject
    public ActivityLifecycleConverter(ProcessorLogger logger) {
        this.logger = logger;
    }

// 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;

package com.github.simonpercic.aircycle.manager;




/**
 * Activity lifecycle converter manager.
 *
 * @author Simon Percic <a href="https://github.com/simonpercic">https://github.com/simonpercic</a>
 */
@Singleton
public class ActivityLifecycleConverter {

    private final ProcessorLogger logger;

    @Inject
    public ActivityLifecycleConverter(ProcessorLogger logger) {
        this.logger = logger;
    }

    public List<ActivityLifecycleType> fromInts(int[] values, VariableElement field, TypeElement enclosingElement) {