public final class Helpers extends BaseGeneratedPatternGroup
Use the static instance as any org.eclipse.incquery.runtime.api.IPatternGroup, to conveniently prepare
an EMF-IncQuery engine for matching all patterns originally defined in file helpers.eiq,
in order to achieve better performance than one-by-one on-demand matcher initialization.
From package org.eclipse.incquery.viewmodel.traceability.patterns, the group contains the definition of the following patterns:
IPatternGroup| Modifier and Type | Method and Description |
|---|---|
EmptyTraceQuerySpecification |
getEmptyTrace() |
EmptyTraceMatcher |
getEmptyTrace(IncQueryEngine engine) |
Param2targetQuerySpecification |
getParam2target() |
Param2targetMatcher |
getParam2target(IncQueryEngine engine) |
TraceQuerySpecification |
getTrace() |
TraceMatcher |
getTrace(IncQueryEngine engine) |
Trace2objectQuerySpecification |
getTrace2object() |
Trace2objectMatcher |
getTrace2object(IncQueryEngine engine) |
Trace2paramQuerySpecification |
getTrace2param() |
Trace2paramMatcher |
getTrace2param(IncQueryEngine engine) |
Trace2targetQuerySpecification |
getTrace2target() |
Trace2targetMatcher |
getTrace2target(IncQueryEngine engine) |
static Helpers |
instance()
Access the pattern group.
|
getSpecificationsprepare, preparepublic static Helpers instance() throws IncQueryException
IncQueryException - if there was an error loading the generated code of pattern specificationspublic EmptyTraceQuerySpecification getEmptyTrace() throws IncQueryException
IncQueryExceptionpublic EmptyTraceMatcher getEmptyTrace(IncQueryEngine engine) throws IncQueryException
IncQueryExceptionpublic Trace2targetQuerySpecification getTrace2target() throws IncQueryException
IncQueryExceptionpublic Trace2targetMatcher getTrace2target(IncQueryEngine engine) throws IncQueryException
IncQueryExceptionpublic Trace2paramQuerySpecification getTrace2param() throws IncQueryException
IncQueryExceptionpublic Trace2paramMatcher getTrace2param(IncQueryEngine engine) throws IncQueryException
IncQueryExceptionpublic Trace2objectQuerySpecification getTrace2object() throws IncQueryException
IncQueryExceptionpublic Trace2objectMatcher getTrace2object(IncQueryEngine engine) throws IncQueryException
IncQueryExceptionpublic Param2targetQuerySpecification getParam2target() throws IncQueryException
IncQueryExceptionpublic Param2targetMatcher getParam2target(IncQueryEngine engine) throws IncQueryException
IncQueryExceptionpublic TraceQuerySpecification getTrace() throws IncQueryException
IncQueryExceptionpublic TraceMatcher getTrace(IncQueryEngine engine) throws IncQueryException
IncQueryException