@@ -131,6 +131,7 @@ protected ExecutionStrategy(DataFetcherExceptionHandler dataFetcherExceptionHand
131131 *
132132 * @param executionContext contains the top level execution parameters
133133 * @param parameters contains the parameters holding the fields to be executed and source object
134+ *
134135 * @return an {@link ExecutionResult}
135136 * @throws NonNullableFieldWasNullException if a non null field resolves to a null value
136137 */
@@ -147,6 +148,7 @@ protected ExecutionStrategy(DataFetcherExceptionHandler dataFetcherExceptionHand
147148 *
148149 * @param executionContext contains the top level execution parameters
149150 * @param parameters contains the parameters holding the fields to be executed and source object
151+ *
150152 * @return an {@link ExecutionResult}
151153 * @throws NonNullableFieldWasNullException if a non null field resolves to a null value
152154 */
@@ -175,6 +177,7 @@ protected CompletableFuture<ExecutionResult> resolveField(ExecutionContext execu
175177 *
176178 * @param executionContext contains the top level execution parameters
177179 * @param parameters contains the parameters holding the fields to be executed and source object
180+ *
178181 * @return a fetched object
179182 * @throws NonNullableFieldWasNullException if a non null field resolves to a null value
180183 */
@@ -283,6 +286,7 @@ private void handleFetchingException(ExecutionContext executionContext,
283286 * @param executionContext contains the top level execution parameters
284287 * @param parameters contains the parameters holding the fields to be executed and source object
285288 * @param fetchedValue the fetched raw value
289+ *
286290 * @return an {@link ExecutionResult}
287291 * @throws NonNullableFieldWasNullException if a non null field resolves to a null value
288292 */
@@ -330,6 +334,7 @@ protected CompletableFuture<ExecutionResult> completeField(ExecutionContext exec
330334 *
331335 * @param executionContext contains the top level execution parameters
332336 * @param parameters contains the parameters holding the fields to be executed and source object
337+ *
333338 * @return an {@link ExecutionResult}
334339 * @throws NonNullableFieldWasNullException if a non null field resolves to a null value
335340 */
@@ -383,6 +388,7 @@ protected CompletableFuture<ExecutionResult> completeValue(ExecutionContext exec
383388 * equals a null object and a present Optional is the underlying value.
384389 *
385390 * @param result the incoming value
391+ *
386392 * @return an un-boxed result
387393 */
388394 protected Object unboxPossibleOptional (Object result ) {
@@ -401,6 +407,7 @@ protected Object unboxPossibleOptional(Object result) {
401407 * Converts an object that is known to should be an Iterable into one
402408 *
403409 * @param result the result object
410+ *
404411 * @return an Iterable from that object
405412 * @throws java.lang.ClassCastException if its not an Iterable
406413 */
@@ -445,6 +452,7 @@ protected GraphQLObjectType resolveType(ExecutionContext executionContext, Execu
445452 * Called to resolve a {@link GraphQLInterfaceType} into a specific {@link GraphQLObjectType} so the object can be executed in terms of that type
446453 *
447454 * @param params the params needed for type resolution
455+ *
448456 * @return a {@link GraphQLObjectType}
449457 */
450458 protected GraphQLObjectType resolveTypeForInterface (TypeResolutionParameters params ) {
@@ -460,6 +468,7 @@ protected GraphQLObjectType resolveTypeForInterface(TypeResolutionParameters par
460468 * Called to resolve a {@link GraphQLUnionType} into a specific {@link GraphQLObjectType} so the object can be executed in terms of that type
461469 *
462470 * @param params the params needed for type resolution
471+ *
463472 * @return a {@link GraphQLObjectType}
464473 */
465474 protected GraphQLObjectType resolveTypeForUnion (TypeResolutionParameters params ) {
@@ -478,6 +487,7 @@ protected GraphQLObjectType resolveTypeForUnion(TypeResolutionParameters params)
478487 * @param parameters contains the parameters holding the fields to be executed and source object
479488 * @param enumType the type of the enum
480489 * @param result the result to be coerced
490+ *
481491 * @return an {@link ExecutionResult}
482492 */
483493 protected CompletableFuture <ExecutionResult > completeValueForEnum (ExecutionContext executionContext , ExecutionStrategyParameters parameters , GraphQLEnumType enumType , Object result ) {
@@ -499,6 +509,7 @@ protected CompletableFuture<ExecutionResult> completeValueForEnum(ExecutionConte
499509 * @param parameters contains the parameters holding the fields to be executed and source object
500510 * @param scalarType the type of the scalar
501511 * @param result the result to be coerced
512+ *
502513 * @return an {@link ExecutionResult}
503514 */
504515 protected CompletableFuture <ExecutionResult > completeValueForScalar (ExecutionContext executionContext , ExecutionStrategyParameters parameters , GraphQLScalarType scalarType , Object result ) {
@@ -533,6 +544,7 @@ private Object handleCoercionProblem(ExecutionContext context, ExecutionStrategy
533544 * @param executionContext contains the top level execution parameters
534545 * @param parameters contains the parameters holding the fields to be executed and source object
535546 * @param iterableValues the values to complete
547+ *
536548 * @return an {@link ExecutionResult}
537549 */
538550 protected CompletableFuture <ExecutionResult > completeValueForList (ExecutionContext executionContext , ExecutionStrategyParameters parameters , Iterable <Object > iterableValues ) {
@@ -592,6 +604,7 @@ protected CompletableFuture<ExecutionResult> completeValueForList(ExecutionConte
592604 * @param executionContext contains the top level execution parameters
593605 * @param parameters contains the parameters holding the fields to be executed and source object
594606 * @param field the field to find the definition of
607+ *
595608 * @return a {@link GraphQLFieldDefinition}
596609 */
597610 protected GraphQLFieldDefinition getFieldDef (ExecutionContext executionContext , ExecutionStrategyParameters parameters , Field field ) {
@@ -605,6 +618,7 @@ protected GraphQLFieldDefinition getFieldDef(ExecutionContext executionContext,
605618 * @param schema the schema in play
606619 * @param parentType the parent type of the field
607620 * @param field the field to find the definition of
621+ *
608622 * @return a {@link GraphQLFieldDefinition}
609623 */
610624 protected GraphQLFieldDefinition getFieldDef (GraphQLSchema schema , GraphQLObjectType parentType , Field field ) {
@@ -622,6 +636,7 @@ protected GraphQLFieldDefinition getFieldDef(GraphQLSchema schema, GraphQLObject
622636 *
623637 * @param e this indicates that a null value was returned for a non null field, which needs to cause the parent field
624638 * to become null OR continue on as an exception
639+ *
625640 * @throws NonNullableFieldWasNullException if a non null field resolves to a null value
626641 */
627642 protected void assertNonNullFieldPrecondition (NonNullableFieldWasNullException e ) throws NonNullableFieldWasNullException {
@@ -660,6 +675,7 @@ protected void handleNonNullException(ExecutionContext executionContext, Complet
660675 *
661676 * @param parameters contains the parameters holding the fields to be executed and source object
662677 * @param fieldDefinition the field definition to build type info for
678+ *
663679 * @return a new type info
664680 */
665681 protected ExecutionTypeInfo fieldTypeInfo (ExecutionStrategyParameters parameters , GraphQLFieldDefinition fieldDefinition ) {
0 commit comments