Unmodifiable, UnmodifiableView: moved from util to core-api (for Java 8 support), TYPE_USE annotations now

This commit is contained in:
Tagir Valeev
2018-01-15 14:16:00 +07:00
parent eb10c8bc24
commit 397d8f8fff
2 changed files with 2 additions and 2 deletions
@@ -19,7 +19,7 @@ import java.lang.annotation.*;
*/
@Documented
@Retention(RetentionPolicy.CLASS)
@Target({ElementType.METHOD, ElementType.FIELD, ElementType.PARAMETER, ElementType.LOCAL_VARIABLE})
@Target({ElementType.TYPE_USE})
@ApiStatus.Experimental
public @interface Unmodifiable {
}
@@ -19,7 +19,7 @@ import java.lang.annotation.*;
*/
@Documented
@Retention(RetentionPolicy.CLASS)
@Target({ElementType.METHOD, ElementType.FIELD, ElementType.PARAMETER, ElementType.LOCAL_VARIABLE})
@Target({ElementType.TYPE_USE})
@ApiStatus.Experimental
public @interface UnmodifiableView {
}