public override bool CanExecute(ClassWithSourceCode childClass, Settings settings = null)
{
if (settings == null || !settings.InjectMixins)
return false;
return !(childClass.AllConstructorsHaveParameter(_mixin.Name.ConvertFieldNameToParameterName()) &&
childClass.HasConstructor);
}