DecoratedTypeMirror propertyType = (DecoratedTypeMirror) property.getPropertyType();
this.adaperType = AdapterUtil.findAdapterType(property.getGetter());
int minOccurs = propertyType.isPrimitive() ? 1 : 0;
boolean unbounded = propertyType.isCollection() || propertyType.isArray();
if (propertyType.isArray()) {
TypeMirror componentType = ((ArrayType) propertyType).getComponentType();
//special case for byte[]
if ((componentType instanceof PrimitiveType) && (((PrimitiveType) componentType).getKind() == PrimitiveType.Kind.BYTE)) {
unbounded = false;
}
}