These methods are used to pass information to getOriginal(Definition)
methods, which themselves are deprecated for removal. Mirror that
decision so we do not end up exposing things we do not need.
Change-Id: Ib977818bc749bf722b9ce0c50664b0c0fda0a593
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
}
@Override
+ @Deprecated(since = "7.0.9", forRemoval = true)
public final EffectiveStatement<?, ?> original() {
return getOriginalCtx().map(StmtContext::buildEffective).orElse(null);
}
@NonNull QName moduleName();
+ @Deprecated(since = "7.0.9", forRemoval = true)
@Nullable EffectiveStatement<?, ?> original();
+ @Deprecated(since = "7.0.9", forRemoval = true)
default <T> @Nullable T original(final @NonNull Class<T> type) {
return type.cast(original());
}
- // FIXME: 7.0.0: this method should be moved to stmt.type in some shape or form
+ // FIXME: 8.0.0: this method should be moved to stmt.type in some shape or form
@NonNull QName argumentAsTypeQName();
/**