Variability modules for Java-like languages

Ferruccio Damiani, Reiner Hähnle, Eduard Kamburjan, Michael Lienhardt, Luca Paolini
2021 Proceedings of the 25th ACM International Systems and Software Product Line Conference - Volume A  
A Software Product Line (SPL) is a family of similar programs (called variants) generated from a common artifact base. A Multi SPL (MPL) is a set of interdependent SPLs (i.e., such that an SPL's variant can depend on variants from other SPLs). MPLs are challenging to model and implement efficiently, especially when different variants of the same SPL must coexist and interoperate. We address this challenge by introducing variability modules (VMs), a new language construct. A VM represents both a
more » ... module and an SPL of standard (variabilityfree), possibly interdependent modules. Generating a variant of a VM triggers the generation of all variants required to fulfill its dependencies. Then, a set of interdependent VMs represents an MPL that can be compiled into a set of standard modules. We illustrate VMs by an example from an industrial modeling scenario, formalize them in a core calculus, provide an implementation for the Java-like modeling language ABS, and evaluate VMs by case studies. CCS CONCEPTS • Software and its engineering → Software product lines; Modules / packages; Classes and objects.
doi:10.1145/3461001.3471143 fatcat:ooldtzihb5hgdo4w5oucjyh2yi