T (T target) { AbstractSchedulingElement<T> <warning descr="Local variable 'targetAsAbstractSchedulingElement' is redundant">targetAsAbstractSchedulingElement</warning> = target; targetAsAbstractSchedulingElement.scenarioSettings1 = scenarioSettings1; return target; }