private fun filterIcon(base: Icon, filter: RGBImageFilter): FilteredIcon(source) Applies the given filter to the given base.
This method is not nice and should really not exist. However, IntelliJ's API is not ready for that yet. See also #552 and IJPL-5285.
See also