ReflectiveSignature ( PsiExpression @NotNull [] arguments ) { if (arguments.length == 2) { final PsiExpression methodType = findInnermostMethodType(arguments[1]); if (methodType != null) { final ReflectiveSignature signature = composeMethodSignature(methodType, false); if (signature != null) { final String text = getTypeText(arguments[0]); if (text != null) { return signature.withReturnType(text); } } } } return null; }