Aufgrund von Umarbeiten des s3 Storage wird es in GitLab, in nächster Zeit, mögliche Performance-Einbußen geben. Näheres dazu unter: https://maintenance.itc.rwth-aachen.de/ticket/status/messages/43/show_ticket/6670

Commit 68a2f706 authored by Malte Heithoff's avatar Malte Heithoff

Fix SubComponentPackages

parent 758f7927
......@@ -25,6 +25,7 @@ import de.monticore.symboltable.MutableScope;
import de.monticore.symboltable.Symbol;
import de.monticore.symboltable.resolving.ResolvingFilter;
import de.monticore.symboltable.types.references.ActualTypeArgument;
import de.se_rwth.commons.Joiners;
import de.se_rwth.commons.Names;
import de.se_rwth.commons.logging.Log;
......@@ -668,4 +669,12 @@ public class EMAComponentInstanceBuilder {
this.componentModifiers = componentModifiers;
return this;
}
public void fixSubComponentPackageNames() {
subComponents.stream().forEach(s -> {
String newPackageName = Joiners.DOT.join(packageName, name.get());
s.setPackageName(newPackageName);
s.setFullName(Joiners.DOT.join(newPackageName, s.getName()));
});
}
}
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