class AttributeBytecodeGenerator {

    @SuppressWarnings("unchecked")
    public static <O, A> Class<? extends MultiValueNullableAttribute<O, A>> generateMultiValueNullableAttributeForGetter(Class<O> pojoClass, Class<A> attributeValueType, String getterMethodName, boolean componentValuesNullable, String attributeName) {
        ensureGetterExists(pojoClass, attributeValueType, getterMethodName, attributeName);
        return generateMultiValueNullableAttribute(MultiValueNullableAttribute.class, pojoClass, attributeValueType, attributeName, componentValuesNullable, "object." + getterMethodName + "()");
    }

}