ReflectionUtils.getAttributeType is actually a duplicated code. We already have a method to deal with inherited attributes