mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Unmodifiable, UnmodifiableView: moved from util to core-api (for Java 8 support), TYPE_USE annotations now
This commit is contained in:
+1
-1
@@ -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 {
|
||||
}
|
||||
+1
-1
@@ -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 {
|
||||
}
|
||||
Reference in New Issue
Block a user