Target target = new TargetControlledPermanent();
ability.addTarget(target);
this.addAbility(ability);
// {1}: Target spell or permanent becomes white until end of turn.
ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
new SetCardColorTargetEffect(ObjectColor.WHITE, Duration.EndOfTurn, "Target spell or permanent becomes white until end of turn"), new ManaCostsImpl("{1}"));
target = new TargetSpellOrPermanent();
ability.addTarget(target);
this.addAbility(ability);
}