public class PatternQuerySpecificationClassInferrer
extends java.lang.Object
IQuerySpecification
implementation inferrer.Constructor and Description |
---|
PatternQuerySpecificationClassInferrer() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.xtend2.lib.StringConcatenationClient |
defaultBackendFactory() |
ParameterDirection |
direction(Variable variable) |
org.eclipse.xtend2.lib.StringConcatenationClient |
directionLiteral(Variable variable) |
ExecutionType |
getRequestedExecutionType(Pattern pattern) |
org.eclipse.xtend2.lib.StringConcatenationClient |
incrementalBackendFactory() |
org.eclipse.xtend2.lib.StringConcatenationClient |
inferAnnotations(Pattern pattern) |
org.eclipse.xtend2.lib.StringConcatenationClient |
inferBodies(Pattern pattern) |
void |
inferExpressions(org.eclipse.xtext.common.types.JvmDeclaredType querySpecificationClass,
Pattern pattern) |
boolean |
inferPQueryMembers(org.eclipse.xtext.common.types.JvmDeclaredType pQueryClass,
Pattern pattern,
SpecificationBuilder specBuilder) |
org.eclipse.xtend2.lib.StringConcatenationClient |
inferQueryEvaluationHints(Pattern pattern) |
org.eclipse.xtext.common.types.JvmDeclaredType |
inferQuerySpecificationClass(Pattern pattern,
boolean isPrelinkingPhase,
java.lang.String querySpecificationPackageName,
org.eclipse.xtext.common.types.JvmType matcherClass,
org.eclipse.xtext.xbase.jvmmodel.JvmTypeReferenceBuilder builder,
org.eclipse.xtext.xbase.jvmmodel.JvmAnnotationReferenceBuilder annBuilder)
Infers the
IQuerySpecification implementation class from Pattern . |
boolean |
inferQuerySpecificationInnerClasses(org.eclipse.xtext.common.types.JvmDeclaredType querySpecificationClass,
Pattern pattern,
boolean isPublic,
SpecificationBuilder specBuilder)
Infers inner class for QuerySpecification class based on the input 'pattern'.
|
boolean |
inferQuerySpecificationMethods(org.eclipse.xtext.common.types.JvmDeclaredType querySpecificationClass,
Pattern pattern,
org.eclipse.xtext.common.types.JvmType matcherClass,
org.eclipse.xtext.common.types.JvmType matchClass,
boolean isPublic)
Infers methods for QuerySpecification class based on the input 'pattern'.
|
void |
initializeSpecification(org.eclipse.xtext.common.types.JvmDeclaredType querySpecificationClass,
Pattern pattern,
org.eclipse.xtext.common.types.JvmType matcherClass,
org.eclipse.xtext.common.types.JvmType matchClass,
SpecificationBuilder specBuilder) |
org.eclipse.xtend2.lib.StringConcatenationClient |
outputAnnotationParameter(java.lang.Object value) |
org.eclipse.xtend2.lib.StringConcatenationClient |
parameterInstantiation(Variable variable) |
org.eclipse.xtend2.lib.StringConcatenationClient |
searchBackendFactory() |
public PatternQuerySpecificationClassInferrer()
public org.eclipse.xtext.common.types.JvmDeclaredType inferQuerySpecificationClass(Pattern pattern, boolean isPrelinkingPhase, java.lang.String querySpecificationPackageName, org.eclipse.xtext.common.types.JvmType matcherClass, org.eclipse.xtext.xbase.jvmmodel.JvmTypeReferenceBuilder builder, org.eclipse.xtext.xbase.jvmmodel.JvmAnnotationReferenceBuilder annBuilder)
IQuerySpecification
implementation class from Pattern
.public void initializeSpecification(org.eclipse.xtext.common.types.JvmDeclaredType querySpecificationClass, Pattern pattern, org.eclipse.xtext.common.types.JvmType matcherClass, org.eclipse.xtext.common.types.JvmType matchClass, SpecificationBuilder specBuilder)
public boolean inferQuerySpecificationMethods(org.eclipse.xtext.common.types.JvmDeclaredType querySpecificationClass, Pattern pattern, org.eclipse.xtext.common.types.JvmType matcherClass, org.eclipse.xtext.common.types.JvmType matchClass, boolean isPublic)
public ParameterDirection direction(Variable variable)
public org.eclipse.xtend2.lib.StringConcatenationClient directionLiteral(Variable variable)
public boolean inferPQueryMembers(org.eclipse.xtext.common.types.JvmDeclaredType pQueryClass, Pattern pattern, SpecificationBuilder specBuilder)
public ExecutionType getRequestedExecutionType(Pattern pattern)
public org.eclipse.xtend2.lib.StringConcatenationClient incrementalBackendFactory()
public org.eclipse.xtend2.lib.StringConcatenationClient searchBackendFactory()
public org.eclipse.xtend2.lib.StringConcatenationClient defaultBackendFactory()
public org.eclipse.xtend2.lib.StringConcatenationClient inferQueryEvaluationHints(Pattern pattern)
public org.eclipse.xtend2.lib.StringConcatenationClient inferBodies(Pattern pattern) throws java.lang.IllegalStateException
java.lang.IllegalStateException
public boolean inferQuerySpecificationInnerClasses(org.eclipse.xtext.common.types.JvmDeclaredType querySpecificationClass, Pattern pattern, boolean isPublic, SpecificationBuilder specBuilder)
public void inferExpressions(org.eclipse.xtext.common.types.JvmDeclaredType querySpecificationClass, Pattern pattern)
public org.eclipse.xtend2.lib.StringConcatenationClient parameterInstantiation(Variable variable)
public org.eclipse.xtend2.lib.StringConcatenationClient inferAnnotations(Pattern pattern)
public org.eclipse.xtend2.lib.StringConcatenationClient outputAnnotationParameter(java.lang.Object value)