Join Slack
Powered by
Hello everyone, can someone explain? I started cr...
# intellij-plugins
y
yehorh
08/09/2023, 7:16 AM
Hello everyone, can someone explain? I started creating a plugin for Dart. Used
https://github.com/JetBrains/intellij-platform-plugin-template
from the documentation. Added a dependency on the Dart plugin, inheriting the class BaseCreateMethodsFix. The field is marked as NonNull.
https://github.com/JetBrains/intellij-plugins/blob/6c5a14c4d9eab1727bf638da53e3a58ade865474/Dart/src/com/jetbrains/lang/dart/ide/generation/BaseCreateMethodsFix.java#L33
But Kotlin tells me it can be null. If I create a Java class myself, make a field with this annotation, and inherit, the behavior will be as expected (non-nullable). What could be the issue? latest stable IntelliJ IDEA Ultimate
3
Views
Open in Slack
Previous
Next