XTypeDescription xTypeDescription = null;
try{
XHierarchicalNameAccess xHierarchicalNameAccess = (XHierarchicalNameAccess) UnoRuntime.queryInterface(XHierarchicalNameAccess.class, m_xTDEnumerationAccess);
if (xHierarchicalNameAccess != null){
if (xHierarchicalNameAccess.hasByHierarchicalName(_sTypeName)){
XIndirectTypeDescription xIndirectTypeDescription = (XIndirectTypeDescription) UnoRuntime.queryInterface(XIndirectTypeDescription.class, xHierarchicalNameAccess.getByHierarchicalName(_sTypeName));
if (xIndirectTypeDescription != null){
xTypeDescription = xIndirectTypeDescription.getReferencedType();
}
}
}
} catch (Exception ex) {
ex.printStackTrace(System.out);