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 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.