GithubHelp home page GithubHelp logo

method-nullability-plugin's People

Contributors

maenu avatar

Watchers

 avatar  avatar

method-nullability-plugin's Issues

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.

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.

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.