if (messagesNames != null)
{
for (String message : messagesNames)
{
Class<?> messageClass = Class.forName(message);
MessageName messageNameAnnot = messageClass.getAnnotation(MessageName.class);
if (messageNameAnnot != null)
{
String messageKey = messageNameAnnot.value();
if (messagesClasses.containsKey(messageKey))
{
throw new CruxGeneratorException("Duplicated Message Key: ["+messageKey+"].");
}
messagesClasses.put(messageKey, messageClass.getCanonicalName());