All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.nakeduml.feature.Phases Maven / Gradle / Ivy

package net.sf.nakeduml.feature;

public class Phases extends SequenceCalculator> {
	@Override
	protected BeforeAndAfter createStepAndPredecessor(TransformationPhase step) {
		PhaseDependency phaseDependency = step.getClass().getAnnotation(PhaseDependency.class);
		if (phaseDependency == null) {
			throw new IllegalArgumentException("Class " + step.getClass() + " has no PhaseDependency annotation");
		}
		return new BeforeAndAfter(step, phaseDependency.before(), phaseDependency.after());
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy