org.eclipse.xtext.xbase.typesystem.util
Class UnboundTypeParameterAwareTypeArgumentCollector

java.lang.Object
  extended by org.eclipse.xtext.common.types.util.AbstractTypeReferenceVisitorWithParameter<Parameter,Result>
      extended by org.eclipse.xtext.common.types.util.AbstractTypeReferenceVisitorWithParameter.InheritanceAware<Parameter,Result>
          extended by org.eclipse.xtext.xtype.util.AbstractXtypeReferenceVisitorWithParameter<Reference,java.lang.Void>
              extended by org.eclipse.xtext.xbase.typesystem.util.AbstractTypeReferenceTraverser<JvmTypeReference>
                  extended by org.eclipse.xtext.xbase.typesystem.util.AbstractTypeReferencePairWalker
                      extended by org.eclipse.xtext.xbase.typesystem.util.ActualTypeArgumentCollector
                          extended by org.eclipse.xtext.xbase.typesystem.util.UnboundTypeParameterAwareTypeArgumentCollector
All Implemented Interfaces:
ITypeReferenceVisitorWithParameter<JvmTypeReference,java.lang.Void>, XtypeReferenceVisitorWithParameter<JvmTypeReference,java.lang.Void>

public class UnboundTypeParameterAwareTypeArgumentCollector
extends ActualTypeArgumentCollector

Author:
Sebastian Zarnekow - Initial contribution and API TODO JavaDoc, toString

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.xtext.xbase.typesystem.util.AbstractTypeReferencePairWalker
AbstractTypeReferencePairWalker.ArrayTypeReferenceTraverser, AbstractTypeReferencePairWalker.ParameterizedTypeReferenceTraverser, AbstractTypeReferencePairWalker.WildcardTypeReferenceTraverser
 
Nested classes/interfaces inherited from class org.eclipse.xtext.common.types.util.AbstractTypeReferenceVisitorWithParameter
AbstractTypeReferenceVisitorWithParameter.InheritanceAware<Parameter,Result>
 
Constructor Summary
UnboundTypeParameterAwareTypeArgumentCollector(java.util.List<JvmTypeParameter> parametersToBeMapped, CommonTypeComputationServices services)
           
 
Method Summary
protected  AbstractTypeReferencePairWalker.ParameterizedTypeReferenceTraverser createParameterizedTypeReferenceTraverser()
           
protected  TypeParameterSubstitutor createTypeParameterSubstitutor(java.util.Map<JvmTypeParameter,JvmTypeReference> mapping)
           
protected  AbstractTypeReferencePairWalker.WildcardTypeReferenceTraverser createWildcardTypeReferenceTraverser()
           
 java.lang.Void doVisitComputedTypeReference(XComputedTypeReference reference, JvmTypeReference param)
           
protected  JvmTypeParameter findMappedParameter(JvmTypeParameter parameter, java.util.Map<JvmTypeParameter,JvmTypeReference> mapping, java.util.Collection<JvmTypeParameter> visited)
           
 
Methods inherited from class org.eclipse.xtext.xbase.typesystem.util.ActualTypeArgumentCollector
boundByConstraint, boundByInferrence, createBoundTypeArgument, getParametersToProcess, getTypeParameterMapping, populateTypeParameterMapping, processPairedReferences, processTypeParameter, rawGetTypeParameterMapping, shouldProcess
 
Methods inherited from class org.eclipse.xtext.xbase.typesystem.util.AbstractTypeReferencePairWalker
createArrayTypeReferenceTraverser, doVisitGenericArrayTypeReference, doVisitParameterizedTypeReference, doVisitWildcardTypeReference, getActualVariance, getExpectedVariance, getOrigin, getServices, outerVisit, outerVisit
 
Methods inherited from class org.eclipse.xtext.xbase.typesystem.util.AbstractTypeReferenceTraverser
doVisitCompoundTypeReference, doVisitTypeReference, handleNullReference
 
Methods inherited from class org.eclipse.xtext.xtype.util.AbstractXtypeReferenceVisitorWithParameter
doVisitFunctionTypeReference
 
Methods inherited from class org.eclipse.xtext.common.types.util.AbstractTypeReferenceVisitorWithParameter.InheritanceAware
doVisitAnyTypeReference, doVisitMultiTypeReference, doVisitSynonymTypeReference, doVisitUnknownTypeReference
 
Methods inherited from class org.eclipse.xtext.common.types.util.AbstractTypeReferenceVisitorWithParameter
doVisitDelegateTypeReference, doVisitSpecializedTypeReference, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.xtext.common.types.util.ITypeReferenceVisitorWithParameter
doVisitAnyTypeReference, doVisitDelegateTypeReference, doVisitMultiTypeReference, doVisitSpecializedTypeReference, doVisitSynonymTypeReference, doVisitUnknownTypeReference, visit
 

Constructor Detail

UnboundTypeParameterAwareTypeArgumentCollector

public UnboundTypeParameterAwareTypeArgumentCollector(java.util.List<JvmTypeParameter> parametersToBeMapped,
                                                      CommonTypeComputationServices services)
Method Detail

createTypeParameterSubstitutor

protected TypeParameterSubstitutor createTypeParameterSubstitutor(java.util.Map<JvmTypeParameter,JvmTypeReference> mapping)
Overrides:
createTypeParameterSubstitutor in class AbstractTypeReferencePairWalker

doVisitComputedTypeReference

public java.lang.Void doVisitComputedTypeReference(XComputedTypeReference reference,
                                                   JvmTypeReference param)
Specified by:
doVisitComputedTypeReference in interface XtypeReferenceVisitorWithParameter<JvmTypeReference,java.lang.Void>
Overrides:
doVisitComputedTypeReference in class AbstractXtypeReferenceVisitorWithParameter<JvmTypeReference,java.lang.Void>

createParameterizedTypeReferenceTraverser

protected AbstractTypeReferencePairWalker.ParameterizedTypeReferenceTraverser createParameterizedTypeReferenceTraverser()
Overrides:
createParameterizedTypeReferenceTraverser in class AbstractTypeReferencePairWalker

createWildcardTypeReferenceTraverser

protected AbstractTypeReferencePairWalker.WildcardTypeReferenceTraverser createWildcardTypeReferenceTraverser()
Overrides:
createWildcardTypeReferenceTraverser in class AbstractTypeReferencePairWalker

findMappedParameter

protected JvmTypeParameter findMappedParameter(JvmTypeParameter parameter,
                                               java.util.Map<JvmTypeParameter,JvmTypeReference> mapping,
                                               java.util.Collection<JvmTypeParameter> visited)
Overrides:
findMappedParameter in class AbstractTypeReferencePairWalker