Package org.somox.gast2seff.visitors
Class DefaultInterfaceOfExternalCallFinder
java.lang.Object
org.somox.gast2seff.visitors.DefaultInterfaceOfExternalCallFinder
- All Implemented Interfaces:
InterfaceOfExternalCallFinding
public class DefaultInterfaceOfExternalCallFinder
extends Object
implements InterfaceOfExternalCallFinding
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.somox.gast2seff.visitors.InterfaceOfExternalCallFinding
InterfaceOfExternalCallFinding.InterfacePortOperationTuple
-
Constructor Summary
ConstructorDescriptionDefaultInterfaceOfExternalCallFinder
(SourceCodeDecoratorRepository sourceCodeDecoratorRepository, org.palladiosimulator.pcm.repository.BasicComponent basicComponent) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.palladiosimulator.pcm.repository.BasicComponent
getCalledInterfacePort
(tools.mdsd.jamopp.model.java.members.Method calledMethod, tools.mdsd.jamopp.model.java.statements.Statement statement) Query the interface port for the function access using the source code decorator.protected SourceCodeDecoratorRepository
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.somox.gast2seff.visitors.InterfaceOfExternalCallFinding
getCalledInterfacePort
-
Constructor Details
-
DefaultInterfaceOfExternalCallFinder
public DefaultInterfaceOfExternalCallFinder(SourceCodeDecoratorRepository sourceCodeDecoratorRepository, org.palladiosimulator.pcm.repository.BasicComponent basicComponent)
-
-
Method Details
-
getCalledInterfacePort
public InterfaceOfExternalCallFinding.InterfacePortOperationTuple getCalledInterfacePort(tools.mdsd.jamopp.model.java.members.Method calledMethod, tools.mdsd.jamopp.model.java.statements.Statement statement) Query the interface port for the function access using the source code decorator.- Specified by:
getCalledInterfacePort
in interfaceInterfaceOfExternalCallFinding
- Parameters:
calledMethod
- The access to find in the PCMstatement
- The statement that issued the method call- Returns:
- interface port and operation for corresponding to the access.
-
getSourceCodeDecoratorRepository
-
getBasicComponent
protected org.palladiosimulator.pcm.repository.BasicComponent getBasicComponent()
-