/* */ }
/* 714 */ ManagementObjectRef ref = (ManagementObjectRef)property.getAnnotations().get(ManagementObjectRef.class.getName());
/* 715 */ String moName = ref != null ? ref.name() : value.getClass().getName();
/* 716 */ String moNameType = ref != null ? ref.type() : "";
/* 717 */ ManagedObject mo = initManagedObject((Serializable)value, moName, moNameType);
/* 718 */ return new GenericValueSupport(MANAGED_OBJECT_META_TYPE, mo);
/* */ }
/* 720 */ if (propertyType.isArray())
/* */ {
/* 722 */ ArrayMetaType arrayType = (ArrayMetaType)ArrayMetaType.class.cast(propertyType);
/* 723 */ if (MANAGED_OBJECT_META_TYPE == arrayType.getElementType())
/* */ {
/* 725 */ Collection cvalue = getAsCollection(value);
/* */
/* 727 */ ArrayMetaType moType = new ArrayMetaType(1, MANAGED_OBJECT_META_TYPE);
/* 728 */ ArrayValueSupport moArrayValue = new ArrayValueSupport(moType);
/* 729 */ List tmp = new ArrayList();
/* 730 */ for (Iterator i$ = cvalue.iterator(); i$.hasNext(); ) { Object element = i$.next();
/* */
/* 732 */ ManagedObject mo = initManagedObject((Serializable)element, null, null);
/* 733 */ tmp.add(new GenericValueSupport(MANAGED_OBJECT_META_TYPE, mo));
/* */ }
/* 735 */ GenericValueSupport[] mos = new GenericValueSupport[tmp.size()];
/* 736 */ moArrayValue.setValue(tmp.toArray(mos));
/* 737 */ return moArrayValue;
/* */ }
/* */ }
/* 740 */ else if (propertyType.isCollection())
/* */ {
/* 742 */ CollectionMetaType collectionType = (CollectionMetaType)CollectionMetaType.class.cast(propertyType);
/* 743 */ if (MANAGED_OBJECT_META_TYPE == collectionType.getElementType())
/* */ {
/* 745 */ Collection cvalue = getAsCollection(value);
/* 746 */ List tmp = new ArrayList();
/* 747 */ for (Iterator i$ = cvalue.iterator(); i$.hasNext(); ) { Object element = i$.next();
/* */
/* 749 */ ManagedObject mo = initManagedObject((Serializable)element, null, null);
/* 750 */ tmp.add(new GenericValueSupport(MANAGED_OBJECT_META_TYPE, mo));
/* */ }
/* 752 */ GenericValueSupport[] mos = new GenericValueSupport[tmp.size()];
/* 753 */ CollectionMetaType moType = new CollectionMetaType(propertyType.getClassName(), MANAGED_OBJECT_META_TYPE);
/* 754 */ return new CollectionValueSupport(moType, (MetaValue[])tmp.toArray(mos));
/* */ }