@Nonnull
	@SuppressWarnings("unchecked")
	default <T> Collection<T> getPluginsOfType(@Nonnull Class<T> type) {
		return (Collection<T>) getPlugins().stream()
				.map(PluginContainer::plugin)
				.filter(plugin -> type.isAssignableFrom(plugin.getClass()))
				.collect(Collectors.toList());
	}
@param type
		Some type to look for.
@param <T>
		Requested type.

@return Collection of plugins of the given type.
recaf-core/src/main/java/software/coley/recaf/services/plugin/PluginManager.java