Class NoGastClassToPrimitiveComponentInitializationStrategy

java.lang.Object
org.somox.analyzer.simplemodelanalyzer.detection.AbstractInitializationStrategy
org.somox.analyzer.simplemodelanalyzer.detection.NoGastClassToPrimitiveComponentInitializationStrategy
All Implemented Interfaces:
IInitializationStrategy

public class NoGastClassToPrimitiveComponentInitializationStrategy extends AbstractInitializationStrategy
Initialization class which only lists a filtered set of classes which potentially can become a component. Does NOT create a SAMM primitive components only the component link of the source code decorator.
  • Constructor Details

    • NoGastClassToPrimitiveComponentInitializationStrategy

      public NoGastClassToPrimitiveComponentInitializationStrategy()
  • Method Details

    • createInitialComponentCandidates

      public List<ComponentImplementingClassesLink> createInitialComponentCandidates(Root root, SoMoXConfiguration config, ComponentBuilder builder)
      Only creates a component link for GAST classes and the set of all inner, i.e., nested, classes Real structs, unions and enumerations are omitted. Does not create a SAMM primitive component
      Returns:
      A list of initial component candidates. This method guarantees that all components are IPrimitiveComponentCandidates.