private void parse(XmlElement element,
ImmutableMultimap.Builder<Integer, Record> mappings) {
DecisionTreeRecord decisionTreeRecord = mRecords.get(element.getId());
if (decisionTreeRecord != null) {
NodeRecord nodeRecord = findNodeRecord(decisionTreeRecord);
if (nodeRecord != null) {
mappings.put(element.getPosition().getLine(), nodeRecord);
}
for (XmlAttribute xmlAttribute : element.getAttributes()) {
AttributeRecord attributeRecord = findAttributeRecord(decisionTreeRecord,
xmlAttribute);
if (attributeRecord != null) {
mappings.put(xmlAttribute.getPosition().getLine(), attributeRecord);
}
}
}
for (XmlElement xmlElement : element.getMergeableElements()) {
parse(xmlElement, mappings);
}
}
Actions.java 文件源码
java
阅读 27
收藏 0
点赞 0
评论 0
项目:javaide
作者:
评论列表
文章目录