- @Override
- void loadTargetGenerator() {
- throw new UnsupportedOperationException();
- }
-
- void linkAugmentationTarget(final GeneratorContext context) {
- final SchemaNodeIdentifier path = statement().argument();
- final ModuleGenerator module = context.resolveModule(path.firstNodeIdentifier().getModule());
- setTargetGenerator(module.resolveSchemaNode(path));
+ @NonNull AugmentRequirement startLinkage(final GeneratorContext context) {
+ return new AugmentRequirement(this,
+ context.resolveModule(statement().argument().firstNodeIdentifier().getModule()));