public class PatternMatchProcessorClassInferrer
extends java.lang.Object
IMatchProcessor
implementation inferrer.Constructor and Description |
---|
PatternMatchProcessorClassInferrer() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.xtext.common.types.JvmDeclaredType |
inferProcessorClass(Pattern pattern,
boolean isPrelinkingPhase,
java.lang.String processorPackageName,
org.eclipse.xtext.common.types.JvmType matchClass,
org.eclipse.xtext.xbase.jvmmodel.JvmTypeReferenceBuilder builder,
org.eclipse.xtext.xbase.jvmmodel.JvmAnnotationReferenceBuilder annBuilder)
Infers the
IMatchProcessor implementation class from a Pattern . |
boolean |
inferProcessorClassMethods(org.eclipse.xtext.common.types.JvmDeclaredType processorClass,
Pattern pattern,
org.eclipse.xtext.common.types.JvmType matchClassRef)
Infers methods for Processor class based on the input 'pattern'.
|
public org.eclipse.xtext.common.types.JvmDeclaredType inferProcessorClass(Pattern pattern, boolean isPrelinkingPhase, java.lang.String processorPackageName, org.eclipse.xtext.common.types.JvmType matchClass, org.eclipse.xtext.xbase.jvmmodel.JvmTypeReferenceBuilder builder, org.eclipse.xtext.xbase.jvmmodel.JvmAnnotationReferenceBuilder annBuilder)
IMatchProcessor
implementation class from a Pattern
.public boolean inferProcessorClassMethods(org.eclipse.xtext.common.types.JvmDeclaredType processorClass, Pattern pattern, org.eclipse.xtext.common.types.JvmType matchClassRef)