boolean isConnection = isConnection(method, method.getReturnType(), type);
outputType = getGraphQLConnection(isConnection, method, type, outputType, builder);
builder.type(outputType);
TypeFunction finalTypeFunction = typeFunction;
List<GraphQLArgument> args = Arrays.asList(method.getParameters()).stream().
<BUG>filter(p -> !DataFetchingEnvironment.class.isAssignableFrom(p.getType())).
map(new Function<Parameter, GraphQLArgument>() {
@Override
public GraphQLArgument apply(Parameter parameter) {</BUG>
Class<?> t = parameter.getType();

boolean isConnection = isConnection(method, method.getReturnType(), type);
outputType = getGraphQLConnection(isConnection, method, type, outputType, builder);
builder.type(outputType);
TypeFunction finalTypeFunction = typeFunction;
List<GraphQLArgument> args = Arrays.asList(method.getParameters()).stream().
filter(p -> !DataFetchingEnvironment.class.isAssignableFrom(p.getType())).
map(parameter -> {
Class<?> t = parameter.getType();
