for (SimpleReference ref : references) {
String typeName = ref.getName();
Matcher m = ARRAY_TYPE_PATTERN.matcher(typeName);
if (m.find()) {
evaluated.add(getArrayType(m.group(),
currentNamespace, doc.sourceStart()));
} else if (typeName.endsWith(BRACKETS)
&& typeName.length() > 2) {
offset = 0;
try {
offset = typeField.getSourceRange().getOffset();