// Path: src/com/wang/okhttpparamsget/Constant.java
// public class Constant {
// 
//     //Map<String, String>
//     public static final int TYPE_MAP_STRING = 1;
//     //Map<String, Object>
//     public static final int TYPE_MAP_OBJECT = 2;
//     //Map<String, RequestBody>
//     public static final int TYPE_MAP_BODY = 3;
//     //List<MultipartBody.Part>
//     public static final int TYPE_LIST_PART = 4;
//     //MultipartBody.Builder
//     public static final int TYPE_BODY_BUILDER = 5;
// 
//     public static final String VALUE_NULL = "okhttpparamsget_value_null";
// 
//     public static final String ARRAY_MAP = "okhttpparamsget_array_map";
// 
//     public static final String ANDROIDX = "okhttpparamsget_android_x";
// 
//     public static final String NULLABLE = "okhttpparamsget_null_able";
// 
//     public static final String OKHTTP_VERSION = "okhttpparamsget_okhttp_version";
// 
//     public static final String NOTIFICATION_GROUP_ID = "com.wang.okhttpparamsget";
// 
// }


import com.intellij.ide.util.PropertiesComponent;
import com.intellij.psi.*;
import com.wang.okhttpparamsget.Constant;
import org.jetbrains.kotlin.asJava.elements.KtLightField;
            if (!findIgnore(older == null ? field : older)) {
                String defaultName = getParamName(older == null ? field : older);
                if (isNullable(field)) {
                    addNullableValue(field, sb, defaultName);
                } else {
                    sb.append(mFieldName).append(".put(");
                    if (defaultName == null) {
                        sb.append('"').append(field.getName()).append('"');
                    } else {
                        sb.append(defaultName);
                    }
                    sb.append(", ").append(toString(field)).append(");");
                }

            }
        }
    }

    @Override
    protected void addNullableValue(PsiField field, StringBuilder sb, String defaultName) {
        boolean add = PropertiesComponent.getInstance().getBoolean(Constant.VALUE_NULL, false);
        if (!add) {
            sb.append("if (").append(field.getName()).append(" != null){");
            sb.append(mFieldName).append(".put(");
            if (defaultName == null) {
                sb.append('"').append(field.getName()).append('"');
            } else {
                sb.append(defaultName);
            }
            sb.append(", ").append(toString(field)).append(");}");
// Path: src/com/wang/okhttpparamsget/Constant.java
// public class Constant {
// 
//     //Map<String, String>
//     public static final int TYPE_MAP_STRING = 1;
//     //Map<String, Object>
//     public static final int TYPE_MAP_OBJECT = 2;
//     //Map<String, RequestBody>
//     public static final int TYPE_MAP_BODY = 3;
//     //List<MultipartBody.Part>
//     public static final int TYPE_LIST_PART = 4;
//     //MultipartBody.Builder
//     public static final int TYPE_BODY_BUILDER = 5;
// 
//     public static final String VALUE_NULL = "okhttpparamsget_value_null";
// 
//     public static final String ARRAY_MAP = "okhttpparamsget_array_map";
// 
//     public static final String ANDROIDX = "okhttpparamsget_android_x";
// 
//     public static final String NULLABLE = "okhttpparamsget_null_able";
// 
//     public static final String OKHTTP_VERSION = "okhttpparamsget_okhttp_version";
// 
//     public static final String NOTIFICATION_GROUP_ID = "com.wang.okhttpparamsget";
// 
// }


// Path: src/com/wang/okhttpparamsget/builder/JavaParamsStringBuilder.java
import com.intellij.ide.util.PropertiesComponent;
import com.intellij.psi.*;
import com.wang.okhttpparamsget.Constant;
import org.jetbrains.kotlin.asJava.elements.KtLightField;

            if (!findIgnore(older == null ? field : older)) {
                String defaultName = getParamName(older == null ? field : older);
                if (isNullable(field)) {
                    addNullableValue(field, sb, defaultName);
                } else {
                    sb.append(mFieldName).append(".put(");
                    if (defaultName == null) {
                        sb.append('"').append(field.getName()).append('"');
                    } else {
                        sb.append(defaultName);
                    }
                    sb.append(", ").append(toString(field)).append(");");
                }

            }
        }
    }

    @Override
    protected void addNullableValue(PsiField field, StringBuilder sb, String defaultName) {
        boolean add = PropertiesComponent.getInstance().getBoolean(Constant.VALUE_NULL, false);
        if (!add) {
            sb.append("if (").append(field.getName()).append(" != null){");
            sb.append(mFieldName).append(".put(");
            if (defaultName == null) {
                sb.append('"').append(field.getName()).append('"');
            } else {
                sb.append(defaultName);
            }
            sb.append(", ").append(toString(field)).append(");}");
        } else {