String (@NotNull PsiMethod method, @Nullable PsiSubstitutor substitutor, @NotNull ParameterInfoUIContext context) { if (substitutor == null) { substitutor = PsiSubstitutor.EMPTY; } if (!method.isValid() || !substitutor.isValid()) { context.setUIComponentEnabled(false); return null; } MethodPresentation methodPresentation = MethodPresentation.from(method, substitutor); return updateMethodPresentation(context, methodPresentation); }