// "Implement methods" "true-preview"
package org.jetbrains.annotations;

import java.lang.annotation.*;

@Target({ElementType.METHOD, ElementType.TYPE_USE})
@interface Nullable{}

@Target({ElementType.METHOD, ElementType.TYPE_USE})
@interface NotNull{}

interface A {
    @Nullable Object @NotNull [] getNotNullArrayOfNullableObjects();
    @NotNull Object @Nullable [] getNullableArrayOfNotNullObjects();
}

class <caret>B implements A {}