// Enchanted creature gets +2/+2 and has "{2}{R}: Target creature can't block this creature this turn."
Effect effect = new BoostEnchantedEffect(2,2, Duration.WhileOnBattlefield);
effect.setText("Enchanted creature gets +2/+2");
ability = new SimpleStaticAbility(Zone.BATTLEFIELD, effect);
Ability grantedAbility = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CantBeBlockedByTargetSourceEffect(Duration.EndOfTurn), new ManaCostsImpl("{2}{R}"));
grantedAbility.addTarget(new TargetCreaturePermanent());
effect = new GainAbilityAttachedEffect(grantedAbility, AttachmentType.AURA, Duration.WhileOnBattlefield);
effect.setText("and has \"{2}{R}: Target creature can't block this creature this turn");
ability.addEffect(effect);
this.addAbility(ability);