https://github.com/dineshsolanki/nullnotion
NullNotion is an IntelliJ plugin that helps you automatically annotate fields in an entity class with @NonNull or @Nullable based on if they are set as not null in the database.
https://github.com/dineshsolanki/nullnotion
hacktoberfest hint intellij intellij-plugin mvc null-safety nullnotion spring spring-boot
Last synced: 5 months ago
JSON representation
NullNotion is an IntelliJ plugin that helps you automatically annotate fields in an entity class with @NonNull or @Nullable based on if they are set as not null in the database.
- Host: GitHub
- URL: https://github.com/dineshsolanki/nullnotion
- Owner: DineshSolanki
- Created: 2023-01-21T09:37:25.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-06-04T16:42:56.000Z (about 1 year ago)
- Last Synced: 2025-06-04T22:19:36.486Z (about 1 year ago)
- Topics: hacktoberfest, hint, intellij, intellij-plugin, mvc, null-safety, nullnotion, spring, spring-boot
- Language: Java
- Homepage: https://plugins.jetbrains.com/plugin/20902-nullnotion
- Size: 135 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# NullNotion IntelliJ Plugin

NullNotion is your ultimate companion in IntelliJ that automagically annotates fields in your entity classes with `@NonNull` or `@Nullable` based on their database constraints. No more tedious manual annotations!
## Installation
[](https://plugins.jetbrains.com/plugin/20902-nullnotion)
- **Installing from the plugin repository within the IDE:**
- Go to Preferences(Settings) > Plugins > Marketplace.
- Search for "NullNotion" and install the plugin.
- **Installing manually:**
- Download the plugin package from [GitHub Releases][gh:releases] or the [JetBrains Plugin Repository][plugin-versions].
- Go to Preferences(Settings) > Plugins > ⚙️ > Install plugin from disk....
- Select the downloaded plugin package and install (no need to unzip).
## Features
* 🎯 Automatically annotates fields in an entity class with `@NonNull` or `@Nullable` based on database constraints.
* 🛡️ Supports MSSQL, MySQL, PostgreSQL, and Oracle database types.
* 📂 Saves database connection information for each project.
## How to Use
1. Install the NullNotion plugin from the [JetBrains Plugin Marketplace](https://plugins.jetbrains.com/plugin/20902-nullnotion).
2. Right-click on an entity Java class annotated with `@Table`, or right-click inside the class.
3. Choose "Process NullNotion" from the menu.
4. On the first run of each project, you will be asked to select a database type and enter the connection string for the database.
5. The plugin will run in the background, and you will be notified when it's completed.
## Benefits
- 🚀 Provides the developer with IDE static analysis hints on potential NPE problems.
- ⏱️ Saves time and effort in manually annotating fields with `@NonNull` or `@Nullable`.
- 🎭 Works in the background, allowing you to continue working while it processes.
- 🌱 Ideal for Spring Boot projects.
## Screenshots


## Support Us
You can support us in various ways:
* ⭐ Star this project on GitHub.
* 🔄 Share this plugin with your friends and colleagues.
* 🌟 Rate this plugin on the [JetBrains Plugin Repository](https://plugins.jetbrains.com/plugin/20902-nullnotion).
* 🐞 Make pull requests to improve the plugin.
* 🚩 Report bugs if you encounter any.
* 💡 Share your ideas with us.
* 💖 Become a [sponsor](https://github.com/sponsors/DineshSolanki) to help further development.
## Contribution
We welcome contributions to NullNotion! If you want to contribute, please fork the repository, make your changes, and submit a pull request.
## License
NullNotion is open-source software licensed under the [GPL-3 License](https://opensource.org/licenses/GPL-3.0).
Development powered by [JetBrains](https://www.jetbrains.com/?from=NullNotion).
---
[](https://www.jetbrains.com/?from=NullNotion)
Let NullNotion enhance your IntelliJ experience! 🚀✨