class MethodReferenceConstructor permits Foo { } non-sealed class Foo {}