java.lang.Object
org.eclipse.viatra.query.runtime.api.impl.BaseQuerySpecification<org.eclipse.viatra.query.runtime.api.GenericPatternMatcher>
org.eclipse.viatra.query.runtime.api.GenericQuerySpecification<org.eclipse.viatra.query.runtime.api.GenericPatternMatcher>
org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecificationWithGenericMatcher
be.kuleuven.cs.distrinet.sparta.queries.internal.Communication
All Implemented Interfaces:
org.eclipse.viatra.query.runtime.api.IQuerySpecification<org.eclipse.viatra.query.runtime.api.GenericPatternMatcher>, org.eclipse.viatra.query.runtime.matchers.psystem.queries.PQueryHeader

public final class Communication extends org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecificationWithGenericMatcher
A pattern-specific query specification that can instantiate GenericPatternMatcher in a type-safe way.

Original source:

         private pattern communication(
                sender : DataFlowEntity, 
                flow: DataFlow, 
                recipient : DataFlowEntity
         ) {
                SenderSpecifiable.sender(sndSpec, sender);
                find sendSpecReachable+(sndSpec, flow);
                RecipientSpecifiable.recipient(rcvSpec, recipient);
                find receiveSpecReachable+(rcvSpec, flow);
         }
 
See Also:
  • invalid reference
    GenericPatternMatcher
  • invalid reference
    GenericPatternMatch
  • Field Summary

    Fields inherited from class org.eclipse.viatra.query.runtime.api.impl.BaseQuerySpecification

    wrappedPQuery
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedEMFQuerySpecificationWithGenericMatcher

    getPreferredScopeClass, instantiate, instantiate, newEmptyMatch, newMatch

    Methods inherited from class org.eclipse.viatra.query.runtime.api.GenericQuerySpecification

    defaultInstantiate, getVisibility

    Methods inherited from class org.eclipse.viatra.query.runtime.api.impl.BaseQuerySpecification

    ensureInitializedInternal, getAllAnnotations, getAnnotationsByName, getFirstAnnotationByName, getFullyQualifiedName, getInternalQueryRepresentation, getMatcher, getParameterNames, getParameters, getPositionOfParameter, processInitializerError

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.eclipse.viatra.query.runtime.api.IQuerySpecification

    getPProblems, getStatus

    Methods inherited from interface org.eclipse.viatra.query.runtime.matchers.psystem.queries.PQueryHeader

    getParameter, getSimpleName
  • Method Details

    • instance

      public static Communication instance()
      Returns:
      the singleton instance of the query specification