}
private void initProperties(
XTypeDescription type, HashMap map, ArrayList handleNames, HashSet seen)
{
XInterfaceTypeDescription2 ifc = (XInterfaceTypeDescription2)
UnoRuntime.queryInterface(
XInterfaceTypeDescription2.class, resolveTypedefs(type));
if (seen.add(ifc.getName())) {
XTypeDescription[] bases = ifc.getBaseTypes();
for (int i = 0; i < bases.length; ++i) {
initProperties(bases[i], map, handleNames, seen);
}
XInterfaceMemberTypeDescription[] members = ifc.getMembers();
for (int i = 0; i < members.length; ++i) {
if (members[i].getTypeClass() == TypeClass.INTERFACE_ATTRIBUTE)
{
XInterfaceAttributeTypeDescription2 attr
= ((XInterfaceAttributeTypeDescription2)