// Path: hierarchyviewer/src/main/java/com/polidea/hierarchyviewer/internal/model/layoutparams/LayoutParamsModelInfo.java
// public interface LayoutParamsModelInfo {
// 
//     void setDataFromLayoutParams(ViewGroup.LayoutParams viewGroupLayoutParams);
// }
// 
// Path: hierarchyviewer/src/main/java/com/polidea/hierarchyviewer/internal/model/view/ModelInfo.java
// public interface ModelInfo {
// 
//     int ID_NOT_FOUND = -1;
// 
//     void setDataFromView(View view, ConvertersContainer convertersContainer);
// }


import android.view.View;
import android.view.ViewGroup;
import com.polidea.hierarchyviewer.internal.model.layoutparams.LayoutParamsModelInfo;
import com.polidea.hierarchyviewer.internal.model.view.ModelInfo;
import java.util.HashMap;
package com.polidea.hierarchyviewer.internal.logic;





public class ConvertersContainer {

    private final HashMap<Class<? extends View>, ViewConverter> viewConverters;

    private final HashMap<Class<? extends ViewGroup.LayoutParams>, LayoutParamsConverter> layoutPramsConverter;

    public ConvertersContainer() {
        viewConverters = new HashMap<>();
        layoutPramsConverter = new HashMap<>();
        initViewConverters();
        initLayoutParamsConverters();
    }

    public void addConverterForView(Class<? extends View> clazz, ModelInfo modelInfo) {
        viewConverters.put(clazz, new DefaultConverter(modelInfo));
    }

// Path: hierarchyviewer/src/main/java/com/polidea/hierarchyviewer/internal/model/layoutparams/LayoutParamsModelInfo.java
// public interface LayoutParamsModelInfo {
// 
//     void setDataFromLayoutParams(ViewGroup.LayoutParams viewGroupLayoutParams);
// }
// 
// Path: hierarchyviewer/src/main/java/com/polidea/hierarchyviewer/internal/model/view/ModelInfo.java
// public interface ModelInfo {
// 
//     int ID_NOT_FOUND = -1;
// 
//     void setDataFromView(View view, ConvertersContainer convertersContainer);
// }


// Path: hierarchyviewer/src/main/java/com/polidea/hierarchyviewer/internal/logic/ConvertersContainer.java
import android.view.View;
import android.view.ViewGroup;
import com.polidea.hierarchyviewer.internal.model.layoutparams.LayoutParamsModelInfo;
import com.polidea.hierarchyviewer.internal.model.view.ModelInfo;
import java.util.HashMap;

package com.polidea.hierarchyviewer.internal.logic;





public class ConvertersContainer {

    private final HashMap<Class<? extends View>, ViewConverter> viewConverters;

    private final HashMap<Class<? extends ViewGroup.LayoutParams>, LayoutParamsConverter> layoutPramsConverter;

    public ConvertersContainer() {
        viewConverters = new HashMap<>();
        layoutPramsConverter = new HashMap<>();
        initViewConverters();
        initLayoutParamsConverters();
    }

    public void addConverterForView(Class<? extends View> clazz, ModelInfo modelInfo) {
        viewConverters.put(clazz, new DefaultConverter(modelInfo));
    }

    public LayoutParamsModelInfo getLayoutParamsModelInfo(Class<? extends ViewGroup.LayoutParams> clazz) {