Class BehaviourInclusionInstructionGenerator
java.lang.Object
edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.behaviour.util.BehaviourInclusionInstructionGenerator
Utility class for determining the join points and generating the
corresponding weaving instructions for the behaviour inclusion mechanism.
-
Constructor Summary
ConstructorDescriptionBehaviourInclusionInstructionGenerator
(PcmSystemManager psm, FCCFeatureHandler fccFeatureHandler) -
Method Summary
Modifier and TypeMethodDescriptiongenerateControlFlowWeavingLocations
(ControlFlowPlacementStrategyImpl placementStrategy) Generates all control flow weaving locations of the given PlacementStrategy.generateExternalCallWeavingLocations
(ExternalCallPlacementStrategyImpl placementStrategy) Generates all external call weaving locations of the given PlacementStrategy.generateInternalActionWeavingLocations
(InternalActionPlacementStrategyImpl placementStrategy) Generates all internal action weaving locations of the given PlacementStrategy.
-
Constructor Details
-
BehaviourInclusionInstructionGenerator
public BehaviourInclusionInstructionGenerator(PcmSystemManager psm, FCCFeatureHandler fccFeatureHandler) - Parameters:
psm
-fccFeatureHandler
-
-
-
Method Details
-
generateControlFlowWeavingLocations
public List<ControlFlowWeavingLocation> generateControlFlowWeavingLocations(ControlFlowPlacementStrategyImpl placementStrategy) Generates all control flow weaving locations of the given PlacementStrategy.- Parameters:
the
- given PlacementStrategy- Returns:
- all internal action weaving locations
-
generateInternalActionWeavingLocations
public List<InternalActionWeavingLocation> generateInternalActionWeavingLocations(InternalActionPlacementStrategyImpl placementStrategy) Generates all internal action weaving locations of the given PlacementStrategy.- Parameters:
placementStrategy
- the given PlacementStrategy- Returns:
- all internal action weaving locations
-
generateExternalCallWeavingLocations
public List<ExternalCallWeavingLocation> generateExternalCallWeavingLocations(ExternalCallPlacementStrategyImpl placementStrategy) Generates all external call weaving locations of the given PlacementStrategy.- Parameters:
placementStrategy
- the given PlacementStrategy- Returns:
- all external call weaving locations.
-