public final class Trace2targetQuerySpecification extends BaseGeneratedEMFQuerySpecification<Trace2targetMatcher>
Trace2targetMatcher,
Trace2targetMatchwrappedPQuery| Modifier and Type | Method and Description |
|---|---|
static Trace2targetQuerySpecification |
instance() |
Trace2targetMatcher |
instantiate()
For backward compatibility of code generated with previous versions of viatra query, this method has a default
implementation returning null, indicating that a matcher can only be created using the old method, which ignores
the hints provided by the user.
|
protected Trace2targetMatcher |
instantiate(ViatraQueryEngine engine) |
Trace2targetMatch |
newEmptyMatch()
Returns an empty, mutable Match compatible with matchers of this query.
|
Trace2targetMatch |
newMatch(java.lang.Object... parameters)
Returns a new (partial) Match object compatible with matchers of this query.
|
getPreferredScopeClassensureInitializedInternal, ensureInitializedInternalSneaky, getAllAnnotations, getAnnotationsByName, getFirstAnnotationByName, getFullyQualifiedName, getInternalQueryRepresentation, getMatcher, getParameterNames, getParameters, getPositionOfParameter, processInitializerErrorpublic static Trace2targetQuerySpecification instance() throws ViatraQueryException
ViatraQueryException - if the pattern definition could not be loadedprotected Trace2targetMatcher instantiate(ViatraQueryEngine engine) throws ViatraQueryException
instantiate in class BaseQuerySpecification<Trace2targetMatcher>ViatraQueryExceptionpublic Trace2targetMatcher instantiate() throws ViatraQueryException
BaseQuerySpecificationinstantiate in interface IQuerySpecification<Trace2targetMatcher>instantiate in class BaseQuerySpecification<Trace2targetMatcher>ViatraQueryExceptionpublic Trace2targetMatch newEmptyMatch()
IQuerySpecificationpublic Trace2targetMatch newMatch(java.lang.Object... parameters)
IQuerySpecificationThe returned match will be immutable. Use IQuerySpecification.newEmptyMatch() to obtain a mutable match object.
parameters - the fixed value of pattern parameters, or null if not bound.