![JAR search and dependency download from the Maven repository](/logo.png)
net.sf.nakeduml.feature.Phases Maven / Gradle / Ivy
package net.sf.nakeduml.feature;
public class Phases extends SequenceCalculator> {
@Override
protected BeforeAndAfter createStepAndPredecessor(TransformationPhase extends TransformationStep> 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