Minor: add contract annotation
This commit is contained in:
@@ -738,6 +738,7 @@ public class KtPsiUtil {
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Contract("_, !null -> !null")
|
||||
public static KtModifierList replaceModifierList(@NotNull KtModifierListOwner owner, @Nullable KtModifierList modifierList) {
|
||||
KtModifierList oldModifierList = owner.getModifierList();
|
||||
if (modifierList == null) {
|
||||
|
||||
Reference in New Issue
Block a user