final OPropertyImpl prop = (OPropertyImpl) cls.getProperty(fieldName);
if (prop == null)
throw new IllegalArgumentException("Property '" + fieldName + "' was not found in class '" + cls + "'");
prop.dropIndexInternal();
} else {
database.getMetadata().getIndexManager().dropIndex(name);
}
return null;