Replace getEntries with hardcoded PsiMethod in LC decompiled declaration
This adds NotNull annotation. ^KTIJ-23530 Fixed
This commit is contained in:
committed by
Space Team
parent
cbb20ce2b8
commit
25f65aff3a
+10
-1
@@ -24,4 +24,13 @@ fun isSyntheticValuesOrValueOfMethod(method: PsiMethod): Boolean {
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
fun isGetEntriesMethod(method: PsiMethod): Boolean {
|
||||
return with(method) {
|
||||
name == "getEntries" &&
|
||||
parameterList.parametersCount == 0 &&
|
||||
hasModifierProperty(PsiModifier.PUBLIC) &&
|
||||
hasModifierProperty(PsiModifier.STATIC)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user