.getDefinition();
case PROVIDER:
return (D) new JavascriptProviderDefHandler((DefDescriptor<ProviderDef>) descriptor, source)
.getDefinition();
case MODEL:
return (D) new JavascriptModelDefHandler((DefDescriptor<ModelDef>) descriptor, source).getDefinition();
case RESOURCE:
return (D) new ResourceDefHandler<>((DefDescriptor<ResourceDef>) descriptor,
(Source<ResourceDef>) source).createDefinition();
case INCLUDE:
return (D) new JavascriptIncludeDefHandler((DefDescriptor<IncludeDef>) descriptor,