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
The annotation processor should look for the presence of a javax.inject.Named annotation on the current javax.lang.model.element.Element being processed. Be that a class annotated with @ServiceExport, or a field or parameter annotated with @ServiceImport
This can easily be checked using:
javax.inject.Named named = componentClazz.getAnnotation(javax.inject.Named.class);
If present, the value should be used as a discriminator when generating the Peaberry imports and exports. For example:
The annotation processor should look for the presence of a
javax.inject.Named
annotation on the currentjavax.lang.model.element.Element
being processed. Be that a class annotated with@ServiceExport
, or a field or parameter annotated with@ServiceImport
This can easily be checked using:
If present, the value should be used as a discriminator when generating the Peaberry imports and exports. For example:
The text was updated successfully, but these errors were encountered: