public class PatternMatcherClassInferrer
extends java.lang.Object
IncQueryMatcher
implementation inferrer.Constructor and Description |
---|
PatternMatcherClassInferrer() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.xtend2.lib.StringConcatenationClient |
inferArrayToMatchMethodBody(Pattern pattern)
Infers the arrayToMatch method body.
|
org.eclipse.xtend2.lib.StringConcatenationClient |
inferArrayToMatchMutableMethodBody(Pattern pattern)
Infers the arrayToMatch method body.
|
boolean |
inferConstructors(org.eclipse.xtext.common.types.JvmDeclaredType matcherClass,
Pattern pattern)
Infers constructors for Matcher class based on the input 'pattern'.
|
java.lang.CharSequence |
inferErrorLogging(java.lang.String message,
java.lang.String exceptionName)
Infers the appropriate logging based on the parameters.
|
boolean |
inferFields(org.eclipse.xtext.common.types.JvmDeclaredType matcherClass,
Pattern pattern)
Infers fields for Matcher class based on the input 'pattern'.
|
boolean |
inferMatcherClassElements(org.eclipse.xtext.common.types.JvmGenericType matcherClass,
Pattern pattern,
org.eclipse.xtext.common.types.JvmDeclaredType specificationClass,
org.eclipse.xtext.common.types.JvmDeclaredType matchClass,
org.eclipse.xtext.xbase.jvmmodel.JvmTypeReferenceBuilder builder,
org.eclipse.xtext.xbase.jvmmodel.JvmAnnotationReferenceBuilder annBuilder) |
boolean |
inferMatcherClassToMatchMethods(org.eclipse.xtext.common.types.JvmDeclaredType matcherClass,
Pattern pattern,
org.eclipse.xtext.common.types.JvmType matchClass)
Infers tupleToMatch, arrayToMatch methods for Matcher class based on the input 'pattern'.
|
boolean |
inferMethods(org.eclipse.xtext.common.types.JvmDeclaredType type,
Pattern pattern,
org.eclipse.xtext.common.types.JvmType matchClass)
Infers methods for Matcher class based on the input 'pattern'.
|
boolean |
inferStaticMethods(org.eclipse.xtext.common.types.JvmGenericType matcherClass,
Pattern pattern)
Infers static methods for Matcher class based on the input 'pattern'.
|
org.eclipse.xtend2.lib.StringConcatenationClient |
inferTupleToMatchMethodBody(Pattern pattern)
Infers the tupleToMatch method body.
|
public boolean inferMatcherClassElements(org.eclipse.xtext.common.types.JvmGenericType matcherClass, Pattern pattern, org.eclipse.xtext.common.types.JvmDeclaredType specificationClass, org.eclipse.xtext.common.types.JvmDeclaredType matchClass, org.eclipse.xtext.xbase.jvmmodel.JvmTypeReferenceBuilder builder, org.eclipse.xtext.xbase.jvmmodel.JvmAnnotationReferenceBuilder annBuilder)
public boolean inferFields(org.eclipse.xtext.common.types.JvmDeclaredType matcherClass, Pattern pattern)
public boolean inferStaticMethods(org.eclipse.xtext.common.types.JvmGenericType matcherClass, Pattern pattern)
public boolean inferConstructors(org.eclipse.xtext.common.types.JvmDeclaredType matcherClass, Pattern pattern)
public boolean inferMethods(org.eclipse.xtext.common.types.JvmDeclaredType type, Pattern pattern, org.eclipse.xtext.common.types.JvmType matchClass)
public boolean inferMatcherClassToMatchMethods(org.eclipse.xtext.common.types.JvmDeclaredType matcherClass, Pattern pattern, org.eclipse.xtext.common.types.JvmType matchClass)
public org.eclipse.xtend2.lib.StringConcatenationClient inferTupleToMatchMethodBody(Pattern pattern)
public org.eclipse.xtend2.lib.StringConcatenationClient inferArrayToMatchMethodBody(Pattern pattern)
public org.eclipse.xtend2.lib.StringConcatenationClient inferArrayToMatchMutableMethodBody(Pattern pattern)
public java.lang.CharSequence inferErrorLogging(java.lang.String message, java.lang.String exceptionName)