mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
override/implement: transform nullability annotations according to user settings (IDEA-233024)
annotation parameters may be removed GitOrigin-RevId: 6c959fcbbd04d84a72bd23a61734f731b5ce9332
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e01a95ccc1
commit
4536567535
+61
@@ -0,0 +1,61 @@
|
||||
package p;
|
||||
import java.util.Collection;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
class M implements Map {
|
||||
public int size() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public boolean isEmpty() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean containsKey(Object o) {
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean containsValue(Object o) {
|
||||
return false;
|
||||
}
|
||||
|
||||
public Object get(Object o) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@N
|
||||
public Object put(Object o, Object o2) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public Object remove(Object o) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public void putAll(@NN Map map) {
|
||||
|
||||
}
|
||||
|
||||
public void clear() {
|
||||
|
||||
}
|
||||
|
||||
@NN
|
||||
public Set keySet() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@NN
|
||||
public Collection values() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@NN
|
||||
public Set<Entry> entrySet() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@interface N {}
|
||||
@interface NN {}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
package p;
|
||||
import java.util.Map;
|
||||
class M implements Map {
|
||||
<caret>
|
||||
}
|
||||
|
||||
@interface N {}
|
||||
@interface NN {}
|
||||
Reference in New Issue
Block a user