IAccessorDefinition accessorDef = (IAccessorDefinition)def;
ITypeDefinition thisType = accessorDef.resolveType(project);
IAccessorDefinition other = null;
if( (other = accessorDef.resolveCorrespondingAccessor(project)) != null)
{
ITypeDefinition otherType = other.resolveType(project);
IDefinition anyType = project.getBuiltinType(BuiltinType.ANY_TYPE);
if( otherType != thisType
// Don't complain if one of the types is '*'