}
protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo,
EjbContext[] ejbContexts) throws AnnotationProcessorException {
DeclareRoles rolesRefAn = (DeclareRoles)ainfo.getAnnotation();
for (EjbContext ejbContext : ejbContexts) {
EjbDescriptor ejbDescriptor = ejbContext.getDescriptor();
for (String roleName : rolesRefAn.value()) {
if (ejbDescriptor.getRoleReferenceByName(roleName) == null) {
RoleReference roleRef = new RoleReference(roleName, "");
roleRef.setRolename(roleName);
roleRef.setSecurityRoleLink(
new SecurityRoleDescriptor(roleName, ""));