boolean (@NotNull Class<?> aClass) { do { Property property = aClass.getAnnotation(Property.class); if (property != null && !property.assertIfNoBindings()) { return true; } } while ((aClass = aClass.getSuperclass()) != null); return false; }