org.eclipse.xtext.xbase.annotations.typing
Class XbaseWithAnnotationsTypeProvider

java.lang.Object
  extended by org.eclipse.xtext.xbase.typing.AbstractTypeProvider
      extended by org.eclipse.xtext.xbase.typing.XbaseTypeProvider
          extended by org.eclipse.xtext.xbase.annotations.typing.XbaseWithAnnotationsTypeProvider
All Implemented Interfaces:
ITypeProvider
Direct Known Subclasses:
XtendTypeProvider

public class XbaseWithAnnotationsTypeProvider
extends XbaseTypeProvider

Author:
Sven Efftinge - Initial contribution and API

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.xtext.xbase.typing.AbstractTypeProvider
AbstractTypeProvider.EarlyExitAcceptor, AbstractTypeProvider.ImmutableLinkedItem<T>
 
Field Summary
 
Fields inherited from class org.eclipse.xtext.xbase.typing.AbstractTypeProvider
getExpectedType, getType, getTypeForIdentifiable
 
Constructor Summary
XbaseWithAnnotationsTypeProvider()
           
 
Method Summary
protected  JvmTypeReference _expectedType(XAnnotationElementValueBinaryOperation binaryOp, org.eclipse.emf.ecore.EReference reference, int index, boolean rawType)
           
protected  JvmTypeReference _expectedType(XAnnotationElementValuePair annotation, org.eclipse.emf.ecore.EReference reference, int index, boolean rawType)
           
protected  JvmTypeReference _expectedType(XAnnotation annotation, org.eclipse.emf.ecore.EReference reference, int index, boolean rawType)
           
protected  JvmTypeReference _expectedType(XAnnotationValueArray array, org.eclipse.emf.ecore.EReference reference, int index, boolean rawType)
           
protected  JvmTypeReference _type(XAnnotationElementValueBinaryOperation annotation, JvmTypeReference rawExpectation, boolean rawType)
           
protected  JvmTypeReference _type(XAnnotation annotation, JvmTypeReference rawExpectation, boolean rawType)
           
protected  JvmTypeReference _type(XAnnotationValueArray annotation, JvmTypeReference rawExpectation, boolean rawType)
           
protected  JvmTypeReference expectedType(org.eclipse.emf.ecore.EObject container, org.eclipse.emf.ecore.EReference reference, int index, boolean rawType)
           
protected  JvmTypeReference type(XExpression expression, JvmTypeReference rawExpectation, boolean rawType)
           
 
Methods inherited from class org.eclipse.xtext.xbase.typing.XbaseTypeProvider
_earlyExits, _earlyExits, _earlyExits, _earlyExits, _earlyExits, _earlyExits, _expectedType, _expectedType, _expectedType, _expectedType, _expectedType, _expectedType, _expectedType, _expectedType, _expectedType, _expectedType, _expectedType, _expectedType, _expectedType, _expectedType, _expectedType, _expectedType, _expectedType, _expectedType, _type, _type, _type, _type, _type, _type, _type, _type, _type, _type, _type, _type, _type, _type, _type, _type, _type, _type, _type, _type, _typeForIdentifiable, _typeForIdentifiable, _typeForIdentifiable, _typeForIdentifiable, _typeForIdentifiable, _typeForIdentifiable, _typeForIdentifiable, _typeForIdentifiable, _typeForIdentifiable, findTypeGuardedXCasePartContainer, getArgumentTypes, getArgumentTypes, getCommonType, getExpectedReturnType, getExpectedVarArgType, getExpression, getFeatureCallTypeArgContext, getParam, getPrimitiveVoid, getReceiverType, getThrownExceptionForIdentifiable, getTypeArgumentContext, getTypeArgumentContext, getTypesFactory, handleCycleGetExpectedType, handleCycleGetTypeForIdentifiable, isFilteredFromCommonTypesList, typeForIdentifiable
 
Methods inherited from class org.eclipse.xtext.xbase.typing.AbstractTypeProvider
_earlyExits, _earlyExits, _earlyExits, _type, _typeForIdentifiable, checkIsSingelton, doGetType, getCommonReturnType, getConstructor, getConstructor, getContainingInfo, getDebugIndentation, getExpectedType, getExpectedType, getFeature, getFeature, getLogicalContainerProvider, getLogicalOrRealContainer, getLogicalOrRealContainer, getNearestTypeParameterDeclarator, getThrownExceptionTypes, getType, getType, getType, getTypeArgumentContextProvider, getTypeConformanceComputer, getTypeForIdentifiable, getTypeForIdentifiable, getTypeReferences, handleCyclicGetType, internalCollectEarlyExits, isDeclaratorOf, isResolved, isResolved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XbaseWithAnnotationsTypeProvider

public XbaseWithAnnotationsTypeProvider()
Method Detail

expectedType

protected JvmTypeReference expectedType(org.eclipse.emf.ecore.EObject container,
                                        org.eclipse.emf.ecore.EReference reference,
                                        int index,
                                        boolean rawType)
Overrides:
expectedType in class XbaseTypeProvider

_expectedType

protected JvmTypeReference _expectedType(XAnnotation annotation,
                                         org.eclipse.emf.ecore.EReference reference,
                                         int index,
                                         boolean rawType)
Parameters:
index - unused but required in dispatch signature
rawType - unused but required in dispatch signature

_expectedType

protected JvmTypeReference _expectedType(XAnnotationElementValuePair annotation,
                                         org.eclipse.emf.ecore.EReference reference,
                                         int index,
                                         boolean rawType)
Parameters:
index - unused but required in dispatch signature
rawType - unused but required in dispatch signature

_expectedType

protected JvmTypeReference _expectedType(XAnnotationElementValueBinaryOperation binaryOp,
                                         org.eclipse.emf.ecore.EReference reference,
                                         int index,
                                         boolean rawType)
Parameters:
index - unused but required in dispatch signature

_expectedType

protected JvmTypeReference _expectedType(XAnnotationValueArray array,
                                         org.eclipse.emf.ecore.EReference reference,
                                         int index,
                                         boolean rawType)
Parameters:
reference - unused but required in dispatch signature
index - unused but required in dispatch signature

type

protected JvmTypeReference type(XExpression expression,
                                JvmTypeReference rawExpectation,
                                boolean rawType)
Overrides:
type in class XbaseTypeProvider

_type

protected JvmTypeReference _type(XAnnotation annotation,
                                 JvmTypeReference rawExpectation,
                                 boolean rawType)
Parameters:
rawExpectation - unused but required in dispatch signature
rawType - unused but required in dispatch signature

_type

protected JvmTypeReference _type(XAnnotationElementValueBinaryOperation annotation,
                                 JvmTypeReference rawExpectation,
                                 boolean rawType)

_type

protected JvmTypeReference _type(XAnnotationValueArray annotation,
                                 JvmTypeReference rawExpectation,
                                 boolean rawType)
Parameters:
rawExpectation - unused but required in dispatch signature