class AttributeBytecodeGenerator {

    static Class<?> getWrapperForPrimitive(Class<?> primitiveType) {

        Class<?> wrapperType = PRIMITIVES_TO_WRAPPERS.get(primitiveType);
        if (wrapperType == null) {
            throw new IllegalStateException("No wrapper type for primitive type: " + primitiveType);
        }
        return wrapperType;
    }

}