Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Type and signature augmentation of the Java standard library and other libraries #22845

vandmo started this conversation in Feature Requests
Discussion options

A bit related to #7871 but I think the question warrants being discussed on a higher level.

Python has https://github.com/python/typeshed and TypeScript has https://github.com/DefinitelyTyped/DefinitelyTyped and both have made a huge impact.

Except for explicit nulls it seems like Caprese would benefit a lot of having information about which capabilities are needed for various functions in the Java API.

You must be logged in to vote

Replies: 2 comments

Comment options

IntelliJ has external annotations that carry some of this information: https://github.com/search?q=org%3AJetBrains+path%3Aannotations.xml&type=code&p=1

CheckerFramework also has something similar.

You must be logged in to vote
0 replies
Comment options

I think something like additional JAR files containing only something like tasty files but only the the type/function signatures (not sure if that is actually supported in tasty).

CheckerFramework seems like a good static analysis tool to be able to automate the creation of those files.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants

AltStyle によって変換されたページ (->オリジナル) /