throw new CompilerError(annotation.getSymbol(), "Only one [" + EXT_CONFIG_META_NAME + "] annotation may be given.");
}
CommaSeparatedList<AnnotationParameter> annotationParameters = annotation.getOptAnnotationParameters();
while (annotationParameters != null) {
AnnotationParameter annotationParameter = annotationParameters.getHead();
Ide optNameIde = annotationParameter.getOptName();
if (optNameIde != null) {
String parameterName = optNameIde.getName();
LiteralExpr annotationParameterValue = annotationParameter.getValue();
String parameterValue = null;
if (annotationParameterValue != null) {
JooSymbol symbol = annotationParameterValue.getSymbol();
if (symbol.sym != sym.STRING_LITERAL) {
throw new CompilerError(symbol, "The " + parameterName + " parameter of an [" + EXT_CONFIG_META_NAME + "] annotation must be a string literal.");