There are many arguments in my code which can take the value null. It would be helpful if there is a @Nullable and @NonNull annotation like the ones offered in Android via Annotation.
Is there an alternative available in Harmony OS?
Create the query with harmonyos tag in stackoverflow and share the link here:
Developer Platform: Windows
DevEco Studio version: 2.1.0.303
SDK API version: 5
SDK version: 2.1.1.21
Device: Not required
Device OS version: Not required
Describe the query
There are many arguments in my code which can take the value null. It would be helpful if there is a @Nullable and @NonNull annotation like the ones offered in Android via Annotation.
Is there an alternative available in Harmony OS?
Create the query with harmonyos tag in stackoverflow and share the link here:
**** https://stackoverflow.com/questions/68589085/what-is-the-alternative-in-harmony-os-for-nullable-and-nonnull-annotations
Additional information
Developer Platform: Windows DevEco Studio version: 2.1.0.303 SDK API version: 5 SDK version: 2.1.1.21 Device: Not required
Device OS version: Not required