boolean (final Module module, @NotNull final Class aClass, final String propertyName) { for (Class c = aClass; c != null; c = c.getSuperclass()) { final Set<String> properties = myClass2ExpertProperties.get(c.getName()); if (properties != null && properties.contains(propertyName)) { return true; } } return isPropertyDeprecated(module, aClass, propertyName); }