java.lang.Object
org.palladiosimulator.retriever.extraction.engine.PCMDetector

public class PCMDetector extends Object
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 Details

    • PCMDetector

      public PCMDetector()
  • Method Details

    • detectComponent

      public void detectComponent(CompUnitOrName unit)
    • detectRequiredInterface

      public void detectRequiredInterface(CompUnitOrName unit, InterfaceName interfaceName)
    • 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

      public void detectSeparatingIdentifier(CompUnitOrName unit, String separatingIdentifier)
    • detectPartOfComposite

      public void detectPartOfComposite(CompUnitOrName unit, String compositeName)
    • detectPartOfWeakComposite

      public void detectPartOfWeakComposite(CompUnitOrName unit, String compositeName)
    • detectCompositeRequiredInterface

      public void detectCompositeRequiredInterface(CompUnitOrName unit, InterfaceName interfaceName)
    • detectCompositeProvidedOperation

      public void detectCompositeProvidedOperation(CompUnitOrName unit, org.eclipse.jdt.core.dom.IMethodBinding method, OperationName name)
    • getCompilationUnits

      public Set<CompUnitOrName> getCompilationUnits()
    • getResult

      public PCMDetectionResult getResult()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isPartOfComposite

      public boolean isPartOfComposite(CompUnitOrName name)
    • addToBlacklist

      public void addToBlacklist(String string)