Commit f1bc3739 authored by Marco Konersmann's avatar Marco Konersmann

removes dead code

parent 7dcff103
......@@ -153,17 +153,6 @@ public class ChildTransformation extends AbstractModelCodeTransformation<Stereot
return null;
}
private StereotypeApplication findStereotypeApplication() {
String stereotypeName = "HierarchicalComponentTypeScoped";
for (StereotypeApplication s : ProfilesUtils.getAppliedStereotypes(holder.getFoundationalIALElement())) {
if (s.getStereotype().getName().equals(stereotypeName)) {
return s;
}
}
throw new IllegalStateException("There must be an application of the stereotype " + stereotypeName
+ " on the IAL element " + holder.getFoundationalIALElement());
}
protected boolean hasExpectedAnnotation(IField field) {
return (field.getAnnotation("Child").exists() && (field.getCompilationUnit()
.getImport("org.codeling.lang.ejbWithStatemachine.ial.mm.componenttype_feature.Child").exists()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment