Exemplo n.º 1
0
        private Fragment InferMethodCallReturnFragmentType(MethodCall methodCall)
        {
            Fragment returnFragment;
            Method   calleeMethod = IntrospectionUtility.ExtractMethod(methodCall);

            if (_customInferenceController.Infers(calleeMethod))
            {
                returnFragment = _customInferenceController.InferFragmentType(methodCall, this);
            }
            else
            {
                returnFragment = FragmentUtility.InferReturnFragmentType(calleeMethod);
            }

            return(returnFragment);
        }