// Path: holder-compiler/src/main/java/com/steve/creact/processor/core/Constants.java
// public final class Constants {
//     private Constants(){}
// 
//     public static final String TEMPLATE_PATH = "templates/databean-source.tm";
//     public static final String PACKAGE_NAME = "${PACKAGE_NAME}";
//     public static final String DATA_ENTITY_FULL_QUALIFIED_CLASS_NAME = "${DATA_ENTITY_FULL_QUALIFIED_CLASS_NAME}";
//     public static final String VIEW_HOLDER_FULL_QUALIFIED_CLASS_NAME = "${VIEW_HOLDER_FULL_QUALIFIED_CLASS_NAME}";
//     public static final String VIEW_HOLDER_SIMPLE_CLASS_NAME = "${VIEW_HOLDER_SIMPLE_CLASS_NAME}";
//     public static final String DATA_BEAN_SIMPLE_CLASS_NAME = "${DATA_BEAN_SIMPLE_CLASS_NAME}";
//     public static final String DATA_ENTITY_SIMPLE_CLASS_NAME = "${DATA_ENTITY_SIMPLE_CLASS_NAME}";
// }


import com.steve.creact.processor.core.Constants;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Map;
package com.steve.creact.processor.core.view;



/**
 * Created by Administrator on 2016/4/10.
 */
public class CommonReplacer implements Replacer {

    public static CommonReplacer getInstance() {
        if (instance == null) {
            synchronized (CommonReplacer.class) {
                if (instance != null)
                    return instance;
                instance = new CommonReplacer();
            }
        }
        return instance;
    }

    private static HashSet<String> placeHolders = new HashSet<>();
    private volatile static CommonReplacer instance;

    private CommonReplacer() {
    }

    static {
// Path: holder-compiler/src/main/java/com/steve/creact/processor/core/Constants.java
// public final class Constants {
//     private Constants(){}
// 
//     public static final String TEMPLATE_PATH = "templates/databean-source.tm";
//     public static final String PACKAGE_NAME = "${PACKAGE_NAME}";
//     public static final String DATA_ENTITY_FULL_QUALIFIED_CLASS_NAME = "${DATA_ENTITY_FULL_QUALIFIED_CLASS_NAME}";
//     public static final String VIEW_HOLDER_FULL_QUALIFIED_CLASS_NAME = "${VIEW_HOLDER_FULL_QUALIFIED_CLASS_NAME}";
//     public static final String VIEW_HOLDER_SIMPLE_CLASS_NAME = "${VIEW_HOLDER_SIMPLE_CLASS_NAME}";
//     public static final String DATA_BEAN_SIMPLE_CLASS_NAME = "${DATA_BEAN_SIMPLE_CLASS_NAME}";
//     public static final String DATA_ENTITY_SIMPLE_CLASS_NAME = "${DATA_ENTITY_SIMPLE_CLASS_NAME}";
// }


// Path: holder-compiler/src/main/java/com/steve/creact/processor/core/view/CommonReplacer.java
import com.steve.creact.processor.core.Constants;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Map;

package com.steve.creact.processor.core.view;



/**
 * Created by Administrator on 2016/4/10.
 */
public class CommonReplacer implements Replacer {

    public static CommonReplacer getInstance() {
        if (instance == null) {
            synchronized (CommonReplacer.class) {
                if (instance != null)
                    return instance;
                instance = new CommonReplacer();
            }
        }
        return instance;
    }

    private static HashSet<String> placeHolders = new HashSet<>();
    private volatile static CommonReplacer instance;

    private CommonReplacer() {
    }

    static {
        placeHolders.add(Constants.PACKAGE_NAME);