@Suppress Warnings for Material.getMaterial()