-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve extension API documentation and resolve some open questions
- renamed/moved `AnnotationInfo.MEMBER_VALUE` to `AnnotationMember.VALUE` - replaced the phrase "component type" with "element type" when speaking about arrays, because JLS uses both and each has a different meaning - removed `ContextConfig`, custom context registration is now fully handled in `MetaAnnotations` - removed unnecessarily concrete language from `@SkipIfPortableExtensionPresent` - methods in the `Types` class now have more specific return types - implementations of `AnnotationInfo`, `AnnotationMember` and `AnnotationTarget` are now required to define `equals` and `hashCode`, and are explicitly not required to use a single object to represent a single construct - the `ClassInfo` declaration is now required to return annotations `@Inherited` from a superclass, per `@Inherited` spec and CDI spec - explicitly documented that `ClassInfo` doesn't provide access to nested classes or an enclosing class, and `PackageInfo` doesn't provide access to package members - corrected some language to distinguish between generic classes (before type argument application) and parameterized types (after type argument application) - specified meaning of `MethodInfo.name` and `returnType` for constructors, mirroring what reflection does (returning the declaring class) - defined how implicit bounds are represented in `TypeVariable` and `WildcardType` - removed `ObserverInfo.id()` - usage of `Optional` was eliminated everywhere - instead of "`void` type", we now always use "`void` pseudo-type" - added `@since 4.0` tags everywhere - changed `@link` tags to `@linkplain` if the link text isn't an identifier
- Loading branch information
Showing
51 changed files
with
774 additions
and
396 deletions.
There are no files selected for viewing
126 changes: 64 additions & 62 deletions
126
api/src/main/java/jakarta/enterprise/inject/build/compatible/spi/AnnotationBuilder.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 0 additions & 47 deletions
47
api/src/main/java/jakarta/enterprise/inject/build/compatible/spi/ContextConfig.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.