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