@Nullable public static <T> T getInstance(ExtensionPointName<MixinEP<T>> name, Object key) { final MixinEP<T>[] eps = Extensions.getExtensions(name); for(MixinEP<T> ep: eps) { if (ep.getKey().isInstance(key)) { return ep.getInstance(); } } return null; }