public Builder locations()

in graphql-error-types/src/main/java/com/netflix/graphql/types/errors/TypedGraphQLError.java [235:246]


        public Builder locations(@Nullable List<SourceLocation> locations) {
            if (locations != null) {
                if (this.locations == null) {
                    this.locations = new ArrayList<>(locations);
                } else {
                    this.locations.addAll(locations);
                }
            } else {
                this.locations = null;
            }
            return this;
        }