for (ActionReference actionReference : refs.value()) { processReferences(e, actionReference, aid); for (ActionReference actionReference : refs.value()) { if (!actionReference.id().id().isEmpty() || !actionReference.id().category().isEmpty()) { throw new LayerGenerationException("Don't specify additional id=@ActionID(...) when using @ActionID on the element", e, processingEnv, actionReference.id()); for (ActionReference actionReference : refs.value()) { if (actionReference.id().id().isEmpty() || actionReference.id().category().isEmpty()) { throw new LayerGenerationException("Specify real id=@ActionID(...)", e, processingEnv, actionReference.id());