Skip to content

Commit

Permalink
ArC - improve the AdditionalBeanBuildItem javadoc
Browse files Browse the repository at this point in the history
- make it clear that it should not be used for generated classes
- resolves #13464
  • Loading branch information
mkouba committed Apr 17, 2023
1 parent e6d8ca3 commit ebd7a73
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@
* An additional bean may have the scope defaulted via {@link #defaultScope} and {@link Builder#setDefaultScope(DotName)}. The
* default scope is only used if there is no scope declared on the bean class. The default scope should be used in cases where a
* bean class source is not controlled by the extension and the scope annotation cannot be declared directly on the class.
*
* <h2>Generated Classes</h2>
*
* This build item should never be produced for a generated class - {@link GeneratedBeanBuildItem} and
* {@link GeneratedBeanGizmoAdaptor} should be used instead.
*/
public final class AdditionalBeanBuildItem extends MultiBuildItem {

Expand Down

0 comments on commit ebd7a73

Please sign in to comment.