Nullability for java.lang.ref.Reference.get

This commit is contained in:
Ilya Gorbunov
2016-12-04 20:02:24 +03:00
parent 84a7e3c032
commit c66b3b8ef9
6 changed files with 103 additions and 0 deletions
@@ -144,6 +144,12 @@ val PREDEFINED_FUNCTION_ENHANCEMENT_INFO_BY_SIGNATURE = signatures {
}
}
forClass(javaLang("ref/Reference")) {
function("get") {
returns(JLObject, NULLABLE)
}
}
forClass(JFPredicate) {
function("test") {
parameter(JLObject, NOT_PLATFORM)