INNER CODE UNIT · Java
setAnnotationsProcessor
Enigmatis/graphql-java-annotations · src/main/java/graphql/annotations/AnnotationsSchemaCreator.java:69
public Builder setAnnotationsProcessor(GraphQLAnnotations annotationsProcessor) {
this.graphQLAnnotations = annotationsProcessor;
return this;
}
/**
* Set the Query of the graphql schema
* This method will generate a GraphQL Query type out of your java class using the annotations processor
*
* @param queryClass the Query java class
* @return the builder after setting the query
*/
public Builder query(Class<?> queryClass) {
this.queryObject = queryClass;
return this;
}
/**