NameResolution.jrag 440 Bytes
Newer Older
1
2
aspect NameResolution {

3
  refine RefResolverStubs eq UpdateDefinition.resolveMappingByToken(String id, int position) {
4
5
6
7
8
9
10
11
12
    // return a MappingDefinition
    for (MappingDefinition mappingDefinition : ros2rag().getMappingDefinitionList()) {
      if (mappingDefinition.getID().equals(id)) {
        return mappingDefinition;
      }
    }
    System.err.println("Could not resolve MappingDefinition '" + id + "'.");
    return null;
  }
13
14

}