use of org.jboss.as.weld.CdiAnnotations in project wildfly by wildfly.
the class CdiAnnotationProcessor method deploy.
@Override
public void deploy(final DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException {
final DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit();
final CompositeIndex index = deploymentUnit.getAttachment(Attachments.COMPOSITE_ANNOTATION_INDEX);
for (final CdiAnnotations annotation : CdiAnnotations.values()) {
if (!index.getAnnotations(annotation.getDotName()).isEmpty()) {
CdiAnnotationMarker.mark(deploymentUnit);
return;
}
}
}
Aggregations