}
}
@Nullable
public static QueryBuilderMethodReferenceParser getQueryBuilderParser(MethodReference methodReference) {
final QueryBuilderChainProcessor processor = new QueryBuilderChainProcessor(methodReference);
processor.collectMethods();
// @TODO: pipe factory method
return new QueryBuilderMethodReferenceParser(methodReference.getProject(), new ArrayList<MethodReference>() {{
addAll(processor.getQueryBuilderFactoryMethods());
addAll(processor.getQueryBuilderMethodReferences());
}});
}