@@ -56,10 +56,11 @@ * instance. * * @param <T> the type of value * @since 1.8 */ + @jdk.internal.MigratedValueClass @jdk.internal.ValueBased public final class Optional<T> { /** * Common instance for {@code empty()}. */