class NamiAttachment {
    private final static ThreadLocal<Map<String, String>> threadMap = FactoryManager.getGlobal().newThreadLocal(NamiAttachment.class, false);

    private static Map<String, String> getContextMap0() {<FILL_FUNCTION_BODY>}


    public static Map<String, String> getData() {
        return Collections.unmodifiableMap(getContextMap0());
    }

    public static void put(String name, String value) {
        getContextMap0().put(name, value);
    }

    public static String get(String name) {
        return getContextMap0().get(name);
    }

    public static void remove(String name) {
        getContextMap0().remove(name);
    }

    public static void clear() {
        threadMap.set(null);
    }
}

        Map<String, String> tmp = threadMap.get();
        if (tmp == null) {
            tmp = new LinkedHashMap<>();
            threadMap.set(tmp);
        }

        return tmp;
    
<no_super_class>