Property (PyCallable callable) { initLocalProperties(); for (Property property : myLocalPropertyCache.values()) { if (property.getGetter().valueOrNull() == callable || property.getSetter().valueOrNull() == callable || property.getDeleter().valueOrNull() == callable) { return property; } } return null; }