org.eclipse.xtext.xtype.impl
Class XFunctionTypeRefImplCustom

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.MinimalEObjectImpl
              extended by org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
                  extended by org.eclipse.xtext.common.types.impl.JvmTypeReferenceImpl
                      extended by org.eclipse.xtext.common.types.impl.JvmTypeReferenceImplCustom
                          extended by org.eclipse.xtext.common.types.impl.JvmSpecializedTypeReferenceImpl
                              extended by org.eclipse.xtext.common.types.impl.JvmSpecializedTypeReferenceImplCustom
                                  extended by org.eclipse.xtext.xtype.impl.XFunctionTypeRefImpl
                                      extended by org.eclipse.xtext.xtype.impl.XFunctionTypeRefImplCustom
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder, org.eclipse.emf.ecore.InternalEObject, JvmSpecializedTypeReference, JvmTypeReference, XFunctionTypeRef

public class XFunctionTypeRefImplCustom
extends XFunctionTypeRefImpl

Author:
Sven Efftinge - Initial contribution and API, Sebastian Zarnekow - Refactored type references, introduced JvmSpecializedTypeReference

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
 
Fields inherited from class org.eclipse.xtext.xtype.impl.XFunctionTypeRefImpl
INSTANCE_CONTEXT_EDEFAULT, instanceContext, paramTypes, returnType, type
 
Fields inherited from class org.eclipse.xtext.common.types.impl.JvmSpecializedTypeReferenceImpl
equivalent
 
Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainer
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
XFunctionTypeRefImplCustom()
           
 
Method Summary
<Result> Result
accept(ITypeReferenceVisitor<Result> visitor)
           
<Parameter,Result>
Result
accept(ITypeReferenceVisitorWithParameter<Parameter,Result> visitor, Parameter parameter)
           
protected  org.eclipse.emf.common.util.URI computeTypeUri(boolean procedure)
           
protected  org.eclipse.emf.common.util.URI computeTypeUri(java.lang.Class<?> topLevelClass)
           
protected  JvmParameterizedTypeReference createEquivalentWithoutWildcards(JvmType rawType, boolean procedure)
           
protected  JvmParameterizedTypeReference createEquivalentWithWildcards(JvmType rawType, boolean procedure)
           
 JvmTypeReference getEquivalent()
           
 java.lang.String getIdentifier()
           
protected  JvmTypeReference getJavaLangObjectTypeRef(JvmType rawType, TypesFactory typesFactory)
           
 java.lang.String getQualifiedName(char innerClassDelimiter)
           
 java.lang.String getSimpleName()
           
 JvmType getType()
           
protected  JvmType getType(java.lang.Class<?> clazz, org.eclipse.emf.ecore.EObject context)
           
 java.lang.String toString()
           
 JvmTypeReference wrapIfNecessary(JvmTypeReference reference)
           
 
Methods inherited from class org.eclipse.xtext.xtype.impl.XFunctionTypeRefImpl
basicGetType, basicSetReturnType, eGet, eInverseRemove, eIsSet, eSet, eStaticClass, eUnset, getParamTypes, getReturnType, isInstanceContext, setInstanceContext, setReturnType, setType
 
Methods inherited from class org.eclipse.xtext.common.types.impl.JvmSpecializedTypeReferenceImpl
basicGetEquivalent, basicSetEquivalent, setEquivalent
 
Methods inherited from class org.eclipse.xtext.common.types.impl.JvmTypeReferenceImplCustom
eResolveProxy, getQualifiedName
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.xtext.common.types.JvmSpecializedTypeReference
setEquivalent
 
Methods inherited from interface org.eclipse.xtext.common.types.JvmTypeReference
getQualifiedName
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Constructor Detail

XFunctionTypeRefImplCustom

public XFunctionTypeRefImplCustom()
Method Detail

accept

public <Result> Result accept(ITypeReferenceVisitor<Result> visitor)
Description copied from class: JvmTypeReferenceImpl

Specified by:
accept in interface JvmTypeReference
Overrides:
accept in class JvmSpecializedTypeReferenceImplCustom

accept

public <Parameter,Result> Result accept(ITypeReferenceVisitorWithParameter<Parameter,Result> visitor,
                                        Parameter parameter)
Description copied from class: JvmTypeReferenceImpl

Specified by:
accept in interface JvmTypeReference
Overrides:
accept in class JvmSpecializedTypeReferenceImplCustom

getType

public JvmType getType()
Description copied from class: XFunctionTypeRefImpl

Specified by:
getType in interface JvmTypeReference
Specified by:
getType in interface XFunctionTypeRef
Overrides:
getType in class XFunctionTypeRefImpl
Returns:
the value of the 'Type' reference.
See Also:
XFunctionTypeRef.setType(JvmType), XtypePackage.getXFunctionTypeRef_Type()

getEquivalent

public JvmTypeReference getEquivalent()
Description copied from class: JvmSpecializedTypeReferenceImpl

Specified by:
getEquivalent in interface JvmSpecializedTypeReference
Overrides:
getEquivalent in class JvmSpecializedTypeReferenceImpl
Returns:
the value of the 'Equivalent' containment reference.
See Also:
JvmSpecializedTypeReference.setEquivalent(JvmTypeReference), TypesPackage.getJvmSpecializedTypeReference_Equivalent()

createEquivalentWithoutWildcards

protected JvmParameterizedTypeReference createEquivalentWithoutWildcards(JvmType rawType,
                                                                         boolean procedure)

createEquivalentWithWildcards

protected JvmParameterizedTypeReference createEquivalentWithWildcards(JvmType rawType,
                                                                      boolean procedure)

getJavaLangObjectTypeRef

protected JvmTypeReference getJavaLangObjectTypeRef(JvmType rawType,
                                                    TypesFactory typesFactory)

wrapIfNecessary

public JvmTypeReference wrapIfNecessary(JvmTypeReference reference)

getType

protected JvmType getType(java.lang.Class<?> clazz,
                          org.eclipse.emf.ecore.EObject context)

computeTypeUri

protected org.eclipse.emf.common.util.URI computeTypeUri(boolean procedure)

computeTypeUri

protected org.eclipse.emf.common.util.URI computeTypeUri(java.lang.Class<?> topLevelClass)

getIdentifier

public java.lang.String getIdentifier()
Description copied from class: JvmTypeReferenceImpl

Specified by:
getIdentifier in interface JvmTypeReference
Overrides:
getIdentifier in class JvmSpecializedTypeReferenceImplCustom

getQualifiedName

public java.lang.String getQualifiedName(char innerClassDelimiter)
Description copied from class: JvmTypeReferenceImpl

Specified by:
getQualifiedName in interface JvmTypeReference
Overrides:
getQualifiedName in class JvmSpecializedTypeReferenceImplCustom

getSimpleName

public java.lang.String getSimpleName()
Description copied from class: JvmTypeReferenceImpl

Specified by:
getSimpleName in interface JvmTypeReference
Overrides:
getSimpleName in class JvmSpecializedTypeReferenceImplCustom

toString

public java.lang.String toString()
Description copied from class: XFunctionTypeRefImpl

Overrides:
toString in class XFunctionTypeRefImpl