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.
|
getSpecifications
prepare, prepare
public static Helpers instance() throws IncQueryException
IncQueryException
- if there was an error loading the generated code of pattern specificationspublic EmptyTraceQuerySpecification getEmptyTrace() throws IncQueryException
IncQueryException
public EmptyTraceMatcher getEmptyTrace(IncQueryEngine engine) throws IncQueryException
IncQueryException
public Trace2targetQuerySpecification getTrace2target() throws IncQueryException
IncQueryException
public Trace2targetMatcher getTrace2target(IncQueryEngine engine) throws IncQueryException
IncQueryException
public Trace2paramQuerySpecification getTrace2param() throws IncQueryException
IncQueryException
public Trace2paramMatcher getTrace2param(IncQueryEngine engine) throws IncQueryException
IncQueryException
public Trace2objectQuerySpecification getTrace2object() throws IncQueryException
IncQueryException
public Trace2objectMatcher getTrace2object(IncQueryEngine engine) throws IncQueryException
IncQueryException
public Param2targetQuerySpecification getParam2target() throws IncQueryException
IncQueryException
public Param2targetMatcher getParam2target(IncQueryEngine engine) throws IncQueryException
IncQueryException
public TraceQuerySpecification getTrace() throws IncQueryException
IncQueryException
public TraceMatcher getTrace(IncQueryEngine engine) throws IncQueryException
IncQueryException