public static MethodReference[] getFormBuilderTypes(Method method) {
final List<MethodReference> methodReferences = new ArrayList<MethodReference>();
final Symfony2InterfacesUtil symfony2InterfacesUtil = new Symfony2InterfacesUtil();
PsiTreeUtil.collectElements(method, new PsiElementFilter() {
@Override
public boolean isAccepted(PsiElement psiElement) {
if (psiElement instanceof MethodReference) {
String methodName = ((MethodReference) psiElement).getName();