Class PCMDetector
java.lang.Object
org.palladiosimulator.retriever.extraction.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
addToBlacklist
(String string) void
void
detectCompositeProvidedOperation
(CompUnitOrName unit, org.eclipse.jdt.core.dom.IMethodBinding method, OperationName name) void
detectCompositeRequiredInterface
(CompUnitOrName unit, InterfaceName interfaceName) void
detectCompositeRequiredInterfaceWeakly
(CompUnitOrName unit, org.eclipse.jdt.core.dom.MethodInvocation invocation) void
detectPartOfComposite
(CompUnitOrName unit, String compositeName) void
detectPartOfWeakComposite
(CompUnitOrName unit, String compositeName) void
detectProvidedInterfaceWeakly
(CompUnitOrName unit, org.eclipse.jdt.core.dom.ITypeBinding iface) void
detectProvidedOperation
(CompUnitOrName unit, org.eclipse.jdt.core.dom.IMethodBinding method, OperationName name) void
detectProvidedOperationWeakly
(CompUnitOrName unit, org.eclipse.jdt.core.dom.IMethodBinding method) void
detectProvidedOperationWeakly
(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
detectRequiredInterfaceWeakly
(CompUnitOrName unit, org.eclipse.jdt.core.dom.FieldDeclaration field) void
detectSeparatingIdentifier
(CompUnitOrName unit, String separatingIdentifier) boolean
toString()
-
Constructor Details
-
PCMDetector
public PCMDetector()
-
-
Method Details
-
detectComponent
-
detectRequiredInterface
-
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) -
detectCompositeRequiredInterfaceWeakly
public void detectCompositeRequiredInterfaceWeakly(CompUnitOrName unit, org.eclipse.jdt.core.dom.MethodInvocation invocation) -
detectRequiredInterface
public void detectRequiredInterface(CompUnitOrName unit, org.eclipse.jdt.core.dom.SingleVariableDeclaration parameter) -
detectProvidedInterfaceWeakly
public void detectProvidedInterfaceWeakly(CompUnitOrName unit, org.eclipse.jdt.core.dom.ITypeBinding iface) -
detectProvidedOperationWeakly
public void detectProvidedOperationWeakly(CompUnitOrName unit, org.eclipse.jdt.core.dom.IMethodBinding method) -
detectProvidedOperationWeakly
public void detectProvidedOperationWeakly(CompUnitOrName unit, org.eclipse.jdt.core.dom.ITypeBinding declaringIface, org.eclipse.jdt.core.dom.IMethodBinding method) -
detectProvidedOperation
public void detectProvidedOperation(CompUnitOrName unit, org.eclipse.jdt.core.dom.IMethodBinding method, OperationName name) -
detectSeparatingIdentifier
-
detectPartOfComposite
-
detectPartOfWeakComposite
-
detectCompositeRequiredInterface
-
detectCompositeProvidedOperation
public void detectCompositeProvidedOperation(CompUnitOrName unit, org.eclipse.jdt.core.dom.IMethodBinding method, OperationName name) -
getCompilationUnits
-
getResult
-
toString
-
isPartOfComposite
-
addToBlacklist
-