Moved generatedTypeAccordingToTriggerAnnotation to TypeResolver