Class<SingletonComponentDescription> componentDescriptionType = SingletonComponentDescription.class;
// Only process EJB deployments and components that are applicable
if (!EjbDeploymentMarker.isEjbDeployment(deploymentUnit) || !(componentDescriptionType.isAssignableFrom(componentDescription.getClass()))) {
return;
}
final Map<DotName, List<AnnotationInstance>> annotationsOnBean = beanClass.annotations();
if (annotationsOnBean == null || annotationsOnBean.isEmpty()) {
return;
}
final SingletonComponentDescription singletonComponentDescription = componentDescriptionType.cast(componentDescription);