* Represents a node that can be added by uses or by augmentation.
*/
@Beta
-// FIXME: 8.0.0: refactor this interface to take into account DerivableSchemaNode
+@Deprecated(since = "8.0.0")
public interface CopyableNode extends AddedByUsesAware {
/**
- * Returns <code>true</code> if this node was added by augmentation,
- * otherwise returns <code>false</code>.
+ * Returns {@code true} if this node was added by augmentation, otherwise returns {@code false}.
*
- * @return <code>true</code> if this node was added by augmentation,
- * otherwise returns <code>false</code>
+ * @return {@code true} if this node was added by augmentation, otherwise returns {@code false}
*/
boolean isAugmenting();
}
*
* @param <A> Argument type ({@link Empty} if statement does not have argument.)
* @param <D> Class representing declared version of this statement.
+ * @deprecated Scheduled for removal with {@link CopyableNode}.
*/
+ @Deprecated(since = "8.0.0")
public interface CopyableMixin<A, D extends DeclaredStatement<A>> extends AddedByUsesMixin<A, D>, CopyableNode {
@Override
+ @Deprecated(since = "8.0.0")
default boolean isAugmenting() {
return (flags() & FlagsBuilder.AUGMENTING) != 0;
}