Further deprecate addAugmentation()
[mdsal.git] / binding / mdsal-binding-java-api-generator / src / main / java / org / opendaylight / mdsal / binding / java / api / generator / BuilderTemplate.xtend
index 59aaaf9d1e51ad08c3c4bb3d389faebd796551d5..5e6de37fb1b8dd3ea0a3faee8f68ea65a8bff0f1 100644 (file)
@@ -360,7 +360,7 @@ class BuilderTemplate extends AbstractBuilderTemplate {
               * @return this builder
               * @deprecated Use either {@link #addAugmentation(«augmentType.importedJavadocName»)} or {@link #removeAugmentation(«CLASS.importedName»)} instead.
               */
-            @«DEPRECATED.importedName»
+            @«DEPRECATED.importedName»(forRemoval = true)
             public «type.name» addAugmentation(«jlClassRef»<? extends «augmentTypeRef»> augmentationType, «augmentTypeRef» augmentationValue) {
                 return augmentationValue == null ? removeAugmentation(augmentationType) : doAddAugmentation(augmentationType, augmentationValue);
             }