This is an internal detail of the copy process, hence it should not
be visible in StmtContext.Mutable.
Change-Id: I890af7f9f8273fc3960c4acd5340fa97f5c3c6c2
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
void setIsSupportedToBuildEffective(boolean isSupportedToBuild);
void setIsSupportedToBuildEffective(boolean isSupportedToBuild);
- void appendCopyHistory(CopyType typeOfCopy, CopyHistory toAppend);
-
- void setOriginalCtx(StmtContext<?, ?, ?> originalCtx);
-
void setOrder(int order);
// FIXME: this seems to be unused, but looks useful.
void setOrder(int order);
// FIXME: this seems to be unused, but looks useful.
this.setRootIdentifier(identifier);
}
this.setRootIdentifier(identifier);
}
- RootStatementContext(final RootStatementContext<A, D, E> original, final QNameModule newQNameModule,
+ private RootStatementContext(final RootStatementContext<A, D, E> original, final QNameModule newQNameModule,
final CopyType typeOfCopy) {
super(original);
final CopyType typeOfCopy) {
super(original);
- @Override
- public void appendCopyHistory(final CopyType typeOfCopy, final CopyHistory toAppend) {
+ final void appendCopyHistory(final CopyType typeOfCopy, final CopyHistory toAppend) {
copyHistory = copyHistory.append(typeOfCopy, toAppend);
}
copyHistory = copyHistory.append(typeOfCopy, toAppend);
}
- @Override
- public void setOriginalCtx(final StmtContext<?, ?, ?> originalCtx) {
+ final void setOriginalCtx(final StmtContext<?, ?, ?> originalCtx) {
this.originalCtx = originalCtx;
}
this.originalCtx = originalCtx;
}
}
@SuppressWarnings("unchecked")
}
@SuppressWarnings("unchecked")
- SubstatementContext(final SubstatementContext<A, D, E> original, final QNameModule newQNameModule,
+ private SubstatementContext(final SubstatementContext<A, D, E> original, final QNameModule newQNameModule,
final StatementContextBase<?, ?, ?> newParent, final CopyType typeOfCopy) {
super(original);
this.parent = newParent;
final StatementContextBase<?, ?, ?> newParent, final CopyType typeOfCopy) {
super(original);
this.parent = newParent;