Class Seff2JavaASTBuilder
java.lang.Object
org.somox.analyzer.simplemodelanalyzer.builder.AbstractBuilder
org.somox.analyzer.simplemodelanalyzer.builder.Seff2JavaASTBuilder
Builder used to add GAST behaviour to methods detected as provided operations of components
-
Field Summary
Fields inherited from class org.somox.analyzer.simplemodelanalyzer.builder.AbstractBuilder
analysisResult, astModel, somoxConfiguration
-
Constructor Summary
ConstructorDescriptionSeff2JavaASTBuilder
(Root gastModel, SoMoXConfiguration somoxConfiguration, AnalysisResult analysisResult) Constructor of the GAST behaviour builder -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
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 representationsomoxConfiguration
- Somox configuaration used to retrieve settingsanalysisResult
- 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 addedprovidedRole
- The provided role for which each of its operations is to be added.
-