Class PCMDetector
java.lang.Object
org.palladiosimulator.somox.analyzer.rules.engine.PCMDetector
This class is used to detect and hold all relevant elements found during the processing of rules.
It provides methods to detect and retrieve PCM elements. After all rules are parsed, this class
holds the results as "simple" java objects not yet transformed to real PCM objects like PCM Basic
Components.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
detectCompositeProvidedOperation
(CompUnitOrName unit, String declaringIface, org.eclipse.jdt.core.dom.IMethodBinding method) void
detectCompositeProvidedOperation
(CompUnitOrName unit, org.eclipse.jdt.core.dom.IMethodBinding method) void
detectCompositeProvidedOperation
(CompUnitOrName unit, org.eclipse.jdt.core.dom.IMethodBinding method, OperationName name) void
detectCompositeProvidedOperation
(CompUnitOrName unit, org.eclipse.jdt.core.dom.ITypeBinding declaringIface, org.eclipse.jdt.core.dom.IMethodBinding method) void
detectCompositeRequiredInterface
(CompUnitOrName unit, org.eclipse.jdt.core.dom.FieldDeclaration field) void
detectCompositeRequiredInterface
(CompUnitOrName unit, org.eclipse.jdt.core.dom.SingleVariableDeclaration parameter) void
detectCompositeRequiredInterface
(CompUnitOrName unit, InterfaceName interfaceName) void
detectPartOfComposite
(CompUnitOrName unit, String compositeName) void
detectProvidedInterface
(CompUnitOrName unit, org.eclipse.jdt.core.dom.ITypeBinding iface) void
detectProvidedInterface
(CompUnitOrName unit, OperationInterface provision) void
detectProvidedOperation
(CompUnitOrName unit, String declaringIface, org.eclipse.jdt.core.dom.IMethodBinding method) void
detectProvidedOperation
(CompUnitOrName unit, org.eclipse.jdt.core.dom.IMethodBinding method) void
detectProvidedOperation
(CompUnitOrName unit, org.eclipse.jdt.core.dom.IMethodBinding method, OperationName name) void
detectProvidedOperation
(CompUnitOrName unit, org.eclipse.jdt.core.dom.ITypeBinding declaringIface, org.eclipse.jdt.core.dom.IMethodBinding method) void
detectRequiredInterface
(CompUnitOrName unit, org.eclipse.jdt.core.dom.FieldDeclaration field) void
detectRequiredInterface
(CompUnitOrName unit, org.eclipse.jdt.core.dom.SingleVariableDeclaration parameter) void
detectRequiredInterface
(CompUnitOrName unit, InterfaceName interfaceName) void
detectRequiredInterface
(CompUnitOrName unit, InterfaceName interfaceName, boolean compositeRequired) void
detectRequiredInterfaceWeakly
(CompUnitOrName unit, org.eclipse.jdt.core.dom.FieldDeclaration field) toString()
-
Constructor Details
-
PCMDetector
public PCMDetector()
-
-
Method Details
-
detectComponent
-
detectRequiredInterface
-
detectRequiredInterface
public void detectRequiredInterface(CompUnitOrName unit, InterfaceName interfaceName, boolean compositeRequired) -
detectRequiredInterface
public void detectRequiredInterface(CompUnitOrName unit, org.eclipse.jdt.core.dom.FieldDeclaration field) -
detectRequiredInterfaceWeakly
public void detectRequiredInterfaceWeakly(CompUnitOrName unit, org.eclipse.jdt.core.dom.FieldDeclaration field) -
detectRequiredInterface
public void detectRequiredInterface(CompUnitOrName unit, org.eclipse.jdt.core.dom.SingleVariableDeclaration parameter) -
detectProvidedInterface
public void detectProvidedInterface(CompUnitOrName unit, org.eclipse.jdt.core.dom.ITypeBinding iface) -
detectProvidedOperation
public void detectProvidedOperation(CompUnitOrName unit, org.eclipse.jdt.core.dom.IMethodBinding method) -
detectProvidedOperation
public void detectProvidedOperation(CompUnitOrName unit, org.eclipse.jdt.core.dom.ITypeBinding declaringIface, org.eclipse.jdt.core.dom.IMethodBinding method) -
detectProvidedOperation
public void detectProvidedOperation(CompUnitOrName unit, String declaringIface, org.eclipse.jdt.core.dom.IMethodBinding method) -
detectProvidedOperation
public void detectProvidedOperation(CompUnitOrName unit, org.eclipse.jdt.core.dom.IMethodBinding method, OperationName name) -
detectProvidedInterface
-
detectPartOfComposite
-
detectCompositeRequiredInterface
-
detectCompositeRequiredInterface
public void detectCompositeRequiredInterface(CompUnitOrName unit, org.eclipse.jdt.core.dom.FieldDeclaration field) -
detectCompositeRequiredInterface
public void detectCompositeRequiredInterface(CompUnitOrName unit, org.eclipse.jdt.core.dom.SingleVariableDeclaration parameter) -
detectCompositeProvidedOperation
public void detectCompositeProvidedOperation(CompUnitOrName unit, org.eclipse.jdt.core.dom.IMethodBinding method) -
detectCompositeProvidedOperation
public void detectCompositeProvidedOperation(CompUnitOrName unit, org.eclipse.jdt.core.dom.ITypeBinding declaringIface, org.eclipse.jdt.core.dom.IMethodBinding method) -
detectCompositeProvidedOperation
public void detectCompositeProvidedOperation(CompUnitOrName unit, String declaringIface, org.eclipse.jdt.core.dom.IMethodBinding method) -
detectCompositeProvidedOperation
public void detectCompositeProvidedOperation(CompUnitOrName unit, org.eclipse.jdt.core.dom.IMethodBinding method, OperationName name) -
getCompilationUnits
-
getResult
-
toString
-