Package org.eclipse.m2m.atl.engine.vm
Class AtlSuperimposeModule
java.lang.Object
org.eclipse.m2m.atl.engine.vm.AtlSuperimposeModule
Implements ATL module superimposition by load-time adaptation of the execution environment operations.
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
General exception for applying ATL module superimposition. -
Constructor Summary
ConstructorDescriptionAtlSuperimposeModule
(ASMExecEnv env, ASM asm) Creates a new AtlSuperimposeModule object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adapts any module-specific operations from a library.
-
Constructor Details
-
AtlSuperimposeModule
Creates a new AtlSuperimposeModule object.- Parameters:
env
- The execution environment to adaptasm
- The ATL module to adapt
-
-
Method Details
-
adaptModuleOperations
Adapts any module-specific operations from a library. The matcher and exec operations are adapted to include any new ATL rules. Rules with the same name as an existing rule will override the existing rule.- Throws:
AtlSuperimposeModule.AtlSuperimposeModuleException
- if sanity check fails
-