presto-main/src/main/java/io/prestosql/sql/analyzer/Scope.java/Scope/AsteriskedIdentifierChainBasis
class Scope:        public AsteriskedIdentifierChainBasis(BasisType basisType, Optional<Scope> scope, Optional<RelationType> relationType)
        {
            this.basisType = requireNonNull(basisType, "type is null");
            this.scope = requireNonNull(scope, "scope is null");
            this.relationType = requireNonNull(relationType, "relationType is null");
            checkArgument(basisType == FIELD || scope.isPresent(), "missing scope");
            checkArgument(basisType == FIELD || relationType.isPresent(), "missing relationType");
        }