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

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

The newest version!
package net.sf.nakeduml.feature;





public class Steps extends SequenceCalculator {

	@Override
	protected BeforeAndAfter createStepAndPredecessor(TransformationStep step) {
		StepDependency fd = step.getClass().getAnnotation(StepDependency.class);
		if (fd == null) {
			throw new IllegalArgumentException("Class " + step.getClass().getName() + " does not have a StepDependency annotation");
		}
		return new BeforeAndAfter(step, fd.before(), fd.after());
	}


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy