You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our support for annotations can be improved with the introduction of CodeBlock. Rather than adding annotations to a type that can no longer be changed, there is a need for being able to customize an existing annotation. Support for the full range of annotation parameters is also welcome.
Looking at the rest of the code base, a container that allows to reuse a Builder for a given annotation type looks ideal. This issue should supersede the following:
This commit improves the annotation support so that it handles more
attribute types. An AnnotationContainer is introduced that permits to
further configure an annotation.
This commit adds a number of deprecations:
* Annotation#getName has been deprecated in favor of
Annotation#getClasName.
* Annotable#annotate has been deprecated in favor of
Annotable#annotations()#add.
* Annotable#getAnnotations has been deprecated in favor of
Annotable#annotations()#values.
* Annotation#name has been deprecated in favor of Annotation#of.
This commit also introduces a breaking change by removing the attribute
method on Annotation.Builder as specifying the type of the attribute is
now handled automatically. Use Annotation.Builder#add or
Annotation.Builder#set depending on your needs.
Closesspring-iogh-1424
This commit improves the annotation support so that it handles more
attribute types. An AnnotationContainer is introduced that permits to
further configure an annotation.
This commit adds a number of deprecations:
* Annotation#getName has been deprecated in favor of
Annotation#getClasName.
* Annotable#annotate has been deprecated in favor of
Annotable#annotations()#add.
* Annotable#getAnnotations has been deprecated in favor of
Annotable#annotations()#values.
* Annotation#name has been deprecated in favor of Annotation#of.
This commit also introduces a breaking change by removing the attribute
method on Annotation.Builder as specifying the type of the attribute is
now handled automatically. Use Annotation.Builder#add or
Annotation.Builder#set depending on your needs.
Closesspring-iogh-1424
Our support for annotations can be improved with the introduction of
CodeBlock
. Rather than adding annotations to a type that can no longer be changed, there is a need for being able to customize an existing annotation. Support for the full range of annotation parameters is also welcome.Looking at the rest of the code base, a container that allows to reuse a
Builder
for a given annotation type looks ideal. This issue should supersede the following:Having a centralized annotation handling should make it easy to extend it to more places if we decided to do so.
The text was updated successfully, but these errors were encountered: