while (classIterator.hasNext())
{
IClassDefinition c = classIterator.next();
ASScope classScope = ((ClassDefinition)c).getContainedScope();
IDefinitionSet definitionSet = classScope.getLocalDefinitionSetByName(propertyName);
if (definitionSet != null)
{
IDefinition winner = null;
int n = definitionSet.getSize();
for (int i = 0; i < n; i++)
{
IDefinition definition = definitionSet.getDefinition(i);
// Look for vars and setters, but not getters.
// Remember that getters and setters implement IVariableDefinition!
if (definition instanceof IVariableDefinition &&
!(definition instanceof IGetterDefinition))