sortedAugmentationsGrouped.sort(AUGMENTS_COMP);
//process child nodes of grouped augment entries
- for (Map.Entry<SchemaPath, List<AugmentationSchemaNode>> schemaPathAugmentListEntry : sortedAugmentationsGrouped) {
+ for (Map.Entry<SchemaPath, List<AugmentationSchemaNode>> schemaPathAugmentListEntry
+ : sortedAugmentationsGrouped) {
resultCtx = augmentationToGenTypes(basePackageName, schemaPathAugmentListEntry, module, schemaContext,
verboseClassComments, resultCtx, genTypeBuilders, typeProvider);
/**
* Convenient method to find node added by uses statement.
* @param schemaContext
+ * actual schema context
* @param targetPath
* node path
* @param parentUsesNode
}
} else {
throw new IllegalStateException(
- "Target node of uses-augment statement must be DataSchemaNode. Failed to generate code for augment in "
+ "Target node of uses-augment statement must be DataSchemaNode. Failed to generate code for augment in "
+ parentUsesNode);
}
}
* added to the choice through the augment.
*
* @param schemaContext
+ * actual schema context
* @param module
* current module
* @param basePackageName