method-nullability-plugin's People
method-nullability-plugin's Issues
Hover: Integrate nullability into JavaDoc hover
Hover: Clicking link within JavaDoc browser shows no nullability info
Refactoring: one database for EEA generation and javadoc hover
On preference page have 3 sections to do configuration in 3 steps:
Step 1: Import CSV; save in sqlite database, copy+place database in e.g. Platform.getStateLocation(bundle) (ie workspace/.metadata/.plugin/ch.unibe.scg.methodnullability.plugin/)
Step 2: Generate EEA; let user choose destination folder (if possible allow anywhere); to get nullability info access database created in step 1
Step 3: configure root folder of EEA file hierarchy (location should be allowed to be anywhere)
Improvment: EEA generator does not support generics/CSV does not provide generics info
the plugin's EEA generator (cf. CsvToEeaAndJavadocConverter.java) does not yet support Java types with generics, i.e. whenever a method signature includes generics, the EEA and null analysis, respectively, will not work for that method.
Task: on one hand, extend CsvToEeaAndJavadocConverter to support generics, on the other hand extend the CSV source data to provide the necessary generics information.
Packaging: Make plugin installable through Eclipse Install Wizard
Package plugin into distributable.
Development: Get familiar
Warnings: Precision
Show warning only if:
- return is assigned
- if not null checked
Potential bug: nullability info from CSV file not transferred correctly to EEA file
more investigation needed, also the exact use case to reproduce.
The behavior was noticed when debugging that the calculated nullability based on the entries in the CSV file (e.g. 0.8 i.e. Nullable) did not match what was generated in the corresponding EEA file (e.g. NonNull) and also what was shown in the javadoc hover, respectively.
Therefore it is suggested to handle this potential bug only after the database refactoring ("one source for javadoc+eea only") has been completed.
Warnings: Invalidate warnings on changes
Update warnings when:
- on save
( - on every change)
Warnings: Show warning on assignee
Show icon on assignments, if nullability > 0.2.
Icon + Hint text
Underline of assignee
Hover: Location and format of nullability info
Move to return documentation.
On new line.
Numbers bold, background light blue.
If no return documentation, add return paragraph, unless void.
If no data, hint at no data in same format.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.