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 |
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.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 |
initializePrivateSpecification(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) |
void |
initializePublicSpecification(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) |
java.lang.CharSequence |
parameterInstantiation(Variable variable) |
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 initializePublicSpecification(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 void initializePrivateSpecification(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 boolean inferPQueryMembers(org.eclipse.xtext.common.types.JvmDeclaredType pQueryClass, Pattern pattern, SpecificationBuilder specBuilder)
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 java.lang.CharSequence parameterInstantiation(Variable variable)
public org.eclipse.xtend2.lib.StringConcatenationClient inferAnnotations(Pattern pattern)
public org.eclipse.xtend2.lib.StringConcatenationClient outputAnnotationParameter(java.lang.Object value)