List<Set<SchemaTypeInfo>> (String ns, String name) { List<Set<SchemaTypeInfo>> type = getDirectChildrenOfType(myProject, ns, name); if (myShouldParseCurrent) { if (myMap == null) { try { myMap = XsdComplexTypeInfoBuilder.parse(CharArrayUtil.readerFromCharSequence(VfsUtilCore.loadText(myCurrentFile))); type.add(new HashSet<>(myMap.get(new SchemaTypeInfo(name, true, ns)))); } catch (IOException e) { LOG.info(e); } } } return type; }