Class BehaviourInclusionInstructionGenerator
- java.lang.Object
-
- edu.kit.ipd.are.dsexplore.featurecompletions.weaver.strategy.behaviour.util.BehaviourInclusionInstructionGenerator
-
public class BehaviourInclusionInstructionGenerator extends Object
Utility class for determining the join points and generating the corresponding weaving instructions for the behaviour inclusion mechanism.
-
-
Constructor Summary
Constructors Constructor Description BehaviourInclusionInstructionGenerator(PcmSystemManager psm, FCCFeatureHandler fccFeatureHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ControlFlowWeavingLocation>
generateControlFlowWeavingLocations(ControlFlowPlacementStrategyImpl placementStrategy)
Generates all control flow weaving locations of the given PlacementStrategy.List<ExternalCallWeavingLocation>
generateExternalCallWeavingLocations(ExternalCallPlacementStrategyImpl placementStrategy)
Generates all external call weaving locations of the given PlacementStrategy.List<InternalActionWeavingLocation>
generateInternalActionWeavingLocations(InternalActionPlacementStrategyImpl placementStrategy)
Generates all internal action weaving locations of the given PlacementStrategy.
-
-
-
Constructor Detail
-
BehaviourInclusionInstructionGenerator
public BehaviourInclusionInstructionGenerator(PcmSystemManager psm, FCCFeatureHandler fccFeatureHandler)
- Parameters:
psm
-fccFeatureHandler
-
-
-
Method Detail
-
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.
-
-