Skip to content

improve extension API documentation and resolve some open questions#520

Merged
Ladicek merged 1 commit intojakartaee:masterfrom
Ladicek:api-improvements
Sep 13, 2021
Merged

improve extension API documentation and resolve some open questions#520
Ladicek merged 1 commit intojakartaee:masterfrom
Ladicek:api-improvements

Conversation

@Ladicek
Copy link
Copy Markdown
Member

@Ladicek Ladicek commented Sep 10, 2021

  • documentation added for synthetic beans and observers; this was
    the last place where proper documentation was missing
  • DeclarationConfig is no longer generic and {Class,Method,Field}Config
    explicitly override the configuration methods, so that users don't have to
    declare a useless type argument when using DeclarationConfig
  • AnnotationMember.as* methods don't perform type conversions
  • added MethodInfo.isConstructor to distinguish constructors
    from regular methods

@Ladicek
Copy link
Copy Markdown
Member Author

Ladicek commented Sep 10, 2021

Sorry for not getting to this sooner, I was occupied elsewhere. This adds documentation to the last undocumented part of the extension API -- synthetic components. This means that the extension API should now be fully documented -- it doesn't mean that all TODOs are gone, but we're getting there :-)

Copy link
Copy Markdown
Contributor

@graemerocher graemerocher left a comment

Choose a reason for hiding this comment

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

Looks fine, just one small typo I noticed

- documentation added for synthetic beans and observers; this was
  the last place where proper documentation was missing
- `DeclarationConfig` is no longer generic and `{Class,Method,Field}Config`
  explicitly override the configuration methods, so that users don't have to
  declare a useless type argument when using `DeclarationConfig`
- `AnnotationMember.as*` methods don't perform type conversions
- added `MethodInfo.isConstructor` to distinguish constructors
  from regular methods
@Ladicek Ladicek merged commit fd159ab into jakartaee:master Sep 13, 2021
@Ladicek Ladicek deleted the api-improvements branch September 13, 2021 12:15
@Ladicek Ladicek added Lite Related to CDI Lite lite-extension-api Issues related to CDI Lite extension API proposal labels Oct 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Lite Related to CDI Lite lite-extension-api Issues related to CDI Lite extension API proposal

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants