org.eclipse.xtext.util
Class EcoreGenericsUtil

java.lang.Object
  extended by org.eclipse.xtext.util.EcoreGenericsUtil

public class EcoreGenericsUtil
extends java.lang.Object

Author:
Jan Koehnlein - Initial contribution and API

Nested Class Summary
protected static class EcoreGenericsUtil.TypeBindingAcceptor
           
 
Constructor Summary
EcoreGenericsUtil()
           
 
Method Summary
protected static void addTypeParameterBindingsRecursively(org.eclipse.emf.ecore.EClass context, EcoreGenericsUtil.TypeBindingAcceptor bindingAcceptor)
           
 org.eclipse.emf.ecore.EGenericType getBoundGenericType(org.eclipse.emf.ecore.EGenericType genericType, org.eclipse.emf.ecore.EClass context)
           
 org.eclipse.emf.ecore.EClass getReferenceType(org.eclipse.emf.ecore.EReference reference, org.eclipse.emf.ecore.EClass context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EcoreGenericsUtil

public EcoreGenericsUtil()
Method Detail

getReferenceType

public org.eclipse.emf.ecore.EClass getReferenceType(org.eclipse.emf.ecore.EReference reference,
                                                     org.eclipse.emf.ecore.EClass context)

getBoundGenericType

public org.eclipse.emf.ecore.EGenericType getBoundGenericType(org.eclipse.emf.ecore.EGenericType genericType,
                                                              org.eclipse.emf.ecore.EClass context)

addTypeParameterBindingsRecursively

protected static void addTypeParameterBindingsRecursively(org.eclipse.emf.ecore.EClass context,
                                                          EcoreGenericsUtil.TypeBindingAcceptor bindingAcceptor)