We have a single constructor which is not being used anywhere, remove it
to reduce confusion.
Change-Id: Ib3a6d6f7760243b1ba890ca45b49a22e6daf22d7
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
this.copyHistory = COPY_ORIGINAL;
}
this.copyHistory = COPY_ORIGINAL;
}
- StatementContextBase(final StatementDefinitionContext<A, D, E> def, final byte copyHistory) {
- this.definition = requireNonNull(def);
- this.copyHistory = copyHistory;
- }
-
StatementContextBase(final StatementDefinitionContext<A, D, E> def, final CopyType copyType) {
this.definition = requireNonNull(def);
this.copyHistory = (byte) copyFlags(copyType);
StatementContextBase(final StatementDefinitionContext<A, D, E> def, final CopyType copyType) {
this.definition = requireNonNull(def);
this.copyHistory = (byte) copyFlags(copyType);
+ // FIXME: this information should be exposed as a well-known Namespace
public final boolean hasImplicitParentSupport() {
return definition.getFactory() instanceof ImplicitParentAwareStatementSupport;
}
public final boolean hasImplicitParentSupport() {
return definition.getFactory() instanceof ImplicitParentAwareStatementSupport;
}