package io.netty.util;

public interface AttributeMap {
    <T> Attribute<T> attr(AttributeKey key, Class<T> type);
}

package io.netty.util;

public interface AttributeMap {
    <T> Attribute<T> attr(AttributeKey<T> key);
}

Remove unnecessary parameter