package records; | |
import java.lang.annotation.ElementType; | |
import java.lang.annotation.Retention; | |
import java.lang.annotation.RetentionPolicy; | |
import java.lang.annotation.Target; | |
record R4(@Marker4 int... i) {} | |
@Retention(RetentionPolicy.RUNTIME) | |
@Target({ElementType.TYPE_USE, ElementType.PARAMETER}) | |
@interface Marker4 {} |