java.lang.Object
org.palladiosimulator.somox.analyzer.rules.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, 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

      public void detectProvidedInterface(CompUnitOrName unit, OperationInterface provision)
    • detectPartOfComposite

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

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

      public Set<CompUnitOrName> getCompilationUnits()
    • getResult

      public PCMDetectionResult getResult()
    • toString

      public String toString()
      Overrides:
      toString in class Object