Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annotations for parameters #1710

Merged
merged 2 commits into from
Feb 5, 2021
Merged

Annotations for parameters #1710

merged 2 commits into from
Feb 5, 2021

Conversation

MarcinAman
Copy link
Contributor

Name Annotatable is up to discussion, i am not entirely happy with it

@MarcinAman MarcinAman linked an issue Feb 1, 2021 that may be closed by this pull request
core/src/main/kotlin/model/Documentable.kt Outdated Show resolved Hide resolved
extra = annotations()
)
else -> GenericTypeConstructor(
DRI.from(ctor!!), // TODO: remove '!!'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The !! can be removed here IMHO

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont think so since it is nullable and afaik we dont have a nullable constructor for DRI

@kamildoleglo
Copy link
Contributor

kamildoleglo commented Feb 3, 2021

Minor comments, otherwise good to go. Not sure about the naming, although IMHO it's ok, any better ideas @Kordyjan?

@Kordyjan
Copy link
Contributor

Kordyjan commented Feb 3, 2021

I really like Annotable. Ok from me.
I've misread it as Annotable. Annotatable is really terrible. Maybe AnnotationTarget or AnnotationSubject?

@MarcinAman MarcinAman merged commit 70000c8 into master Feb 5, 2021
@MarcinAman MarcinAman deleted the annotations_on_bounds branch February 5, 2021 13:55
This was referenced Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Annotations on java parameters do not appear in Documentable
3 participants