// Path: annotation/src/main/java/link/anyauto/smartkey/annotation/AnnotationConstants.java
// public class AnnotationConstants {
//     public static final String SUFFIX_INTENT_BUILDER = "IBuilder";
//     public static final String SUFFIX_SHARED_PREFERENCES_BUILDER = "SPBuilder";
//     public static final String SUFFIX_ACTIVITY_TARGET = "ATarget";
//     public static final String SUFFIX_SERVICE_TARGET = "STarget";
// 
//     public static final String TARGET_TYPE_ACTIVITY = "activity";
//     public static final String TARGET_TYPE_ACTIVITY_ALIAS = "activity-alias";
//     public static final String TARGET_TYPE_SERVICE = "service";
// }
// 
// Path: apt/src/main/java/link/anyauto/smartkey/apt/manifestanalyzer/TargetDescriptor.java
// public class TargetDescriptor {
//     public String name;
//     public String aliasName;
//     public ArrayList<TargetFilter> filters = new ArrayList<>();
// 
//     public String getSimpleName() {
//         return name.substring(name.lastIndexOf('.') + 1);
//     }
// }


import com.squareup.javapoet.ClassName;
import com.squareup.javapoet.MethodSpec;
import com.squareup.javapoet.ParameterizedTypeName;
import com.squareup.javapoet.TypeName;
import com.squareup.javapoet.TypeSpec;
import java.util.HashMap;
import javax.lang.model.element.Modifier;
import link.anyauto.smartkey.annotation.AnnotationConstants;
import link.anyauto.smartkey.apt.manifestanalyzer.TargetDescriptor;
package link.anyauto.smartkey.apt;





public class ServiceHandler {
    TypeSpec.Builder smartTargets;
    HashMap<String, TypeSpec.Builder> types;
    public ServiceHandler(TypeSpec.Builder smartTargets, HashMap<String, TypeSpec.Builder> typesHolder) {
        this.smartTargets = smartTargets;
        types = typesHolder;
    }

// Path: annotation/src/main/java/link/anyauto/smartkey/annotation/AnnotationConstants.java
// public class AnnotationConstants {
//     public static final String SUFFIX_INTENT_BUILDER = "IBuilder";
//     public static final String SUFFIX_SHARED_PREFERENCES_BUILDER = "SPBuilder";
//     public static final String SUFFIX_ACTIVITY_TARGET = "ATarget";
//     public static final String SUFFIX_SERVICE_TARGET = "STarget";
// 
//     public static final String TARGET_TYPE_ACTIVITY = "activity";
//     public static final String TARGET_TYPE_ACTIVITY_ALIAS = "activity-alias";
//     public static final String TARGET_TYPE_SERVICE = "service";
// }
// 
// Path: apt/src/main/java/link/anyauto/smartkey/apt/manifestanalyzer/TargetDescriptor.java
// public class TargetDescriptor {
//     public String name;
//     public String aliasName;
//     public ArrayList<TargetFilter> filters = new ArrayList<>();
// 
//     public String getSimpleName() {
//         return name.substring(name.lastIndexOf('.') + 1);
//     }
// }


// Path: apt/src/main/java/link/anyauto/smartkey/apt/ServiceHandler.java
import com.squareup.javapoet.ClassName;
import com.squareup.javapoet.MethodSpec;
import com.squareup.javapoet.ParameterizedTypeName;
import com.squareup.javapoet.TypeName;
import com.squareup.javapoet.TypeSpec;
import java.util.HashMap;
import javax.lang.model.element.Modifier;
import link.anyauto.smartkey.annotation.AnnotationConstants;
import link.anyauto.smartkey.apt.manifestanalyzer.TargetDescriptor;

package link.anyauto.smartkey.apt;





public class ServiceHandler {
    TypeSpec.Builder smartTargets;
    HashMap<String, TypeSpec.Builder> types;
    public ServiceHandler(TypeSpec.Builder smartTargets, HashMap<String, TypeSpec.Builder> typesHolder) {
        this.smartTargets = smartTargets;
        types = typesHolder;
    }

    public void addType(TargetDescriptor des) {