This is identical to values[T]
, except if there are case class
instances, they are simply filtered out of the set rather than throwing
a compilation error.
This is identical to values[T]
, except if there are case class
instances, they are simply filtered out of the set rather than throwing
a compilation error.
The type for which we're going to search for object instances
A Set of all known object instances
Generate a set of all available object instances known for the sealed
trait identified by T, throwing a compilation error if there are any
case class
instances of the trait.
Generate a set of all available object instances known for the sealed
trait identified by T, throwing a compilation error if there are any
case class
instances of the trait.
The type T must denote a Class type that is a sealed trait, sealed
abstract class, or sealed class. If there are any instances of this sealed
class that are not case object
s (i.e., there exist case class
es), then
this will result in a compilation error.
The type for which we're going to search for object instances
A Set of all known object instances