// we only "fake" OGNL here, skip method call expressions for now
if (StringUtil.containsChar(expressionString, '(')) {
continue;
}
final BeanPropertyPathReferenceSet propertyPathReferenceSet =
new BeanPropertyPathReferenceSet(expressionString,
psiElement,
startOffset,
'.',
actionClass,
true) {
// CTOR creates references eagerly, so we have to subclass here
@Override
public boolean isSoft() {
return false;
}
@NotNull
@Override
protected BeanPropertyPathReference createReference(final TextRange range, final int index) {
final TextRange shift = TextRange.from(range.getStartOffset() + tagValueStartOffset,
range.getLength()); // shift range to XmlTag value range
return createBeanPropertyPathReference(shift, index);
}
};
references = ArrayUtil.mergeArrays(references, propertyPathReferenceSet.getPsiReferences());
}
return references;
}