Class Seff2JavaASTBuilder

java.lang.Object
org.somox.analyzer.simplemodelanalyzer.builder.AbstractBuilder
org.somox.analyzer.simplemodelanalyzer.builder.Seff2JavaASTBuilder

public class Seff2JavaASTBuilder extends AbstractBuilder
Builder used to add GAST behaviour to methods detected as provided operations of components
  • Constructor Details

    • Seff2JavaASTBuilder

      public Seff2JavaASTBuilder(Root gastModel, SoMoXConfiguration somoxConfiguration, AnalysisResult analysisResult)
      Constructor of the GAST behaviour builder
      Parameters:
      gastModel - GAST model used for queries to the source code representation
      somoxConfiguration - Somox configuaration used to retrieve settings
      analysisResult - Contains the root model elemts used to store the generated model elements
  • Method Details

    • addSeffsToBasicComponent

      public void addSeffsToBasicComponent(org.palladiosimulator.pcm.repository.BasicComponent component, org.palladiosimulator.pcm.repository.ProvidedRole providedRole)
      Add seffs to the given basic component for all methods passed in the provided roles parameter
      Parameters:
      component - The component to which the behaviour will be added
      providedRole - The provided role for which each of its operations is to be added.