Deprecate AddedByUsesAware
[yangtools.git] / model / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / AddedByUsesAware.java
index d7e43c49b946c888ffb186e3262eda297456b45f..e73318ab327db1cd3b46543d027848c7b12af371 100644 (file)
@@ -11,16 +11,17 @@ import com.google.common.annotations.Beta;
 
 /**
  * Trait interface for {@link SchemaNode}s, which have the {@link #isAddedByUses()} method.
+ *
+ * @deprecated The only user of this trait is MD-SAL's binding component. As such, we provide enough information in
+ *             EffectiveStatement tree to reconstruct this information.
  */
 @Beta
-//FIXME: 8.0.0: refactor this interface to take into account DerivableSchemaNode
+@Deprecated(since = "7.0.9")
 public interface AddedByUsesAware {
     /**
-     * Returns <code>true</code> if this node was added by uses statement,
-     * otherwise returns <code>false</code>.
+     * Returns {@code true} if this node was added by uses statement, otherwise returns {@code false}.
      *
-     * @return <code>true</code> if this node was added by uses statement,
-     *         otherwise returns <code>false</code>
+     * @return {@code true} if this node was added by uses statement, otherwise returns {@code false}
      */
     boolean isAddedByUses();
 }