org.eclipse.xtext.common.types.impl
Class TypesFactoryImpl

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.emf.ecore.impl.EModelElementImpl
                      extended by org.eclipse.emf.ecore.impl.EFactoryImpl
                          extended by org.eclipse.xtext.common.types.impl.TypesFactoryImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EFactory, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder, org.eclipse.emf.ecore.InternalEObject, TypesFactory

public class TypesFactoryImpl
extends org.eclipse.emf.ecore.impl.EFactoryImpl
implements TypesFactory

An implementation of the model Factory.

EMF generated code

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>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
 
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.emf.ecore.impl.EFactoryImpl
EDATE_FORMATS, ePackage
 
Fields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eAnnotations, eFlags, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG
 
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.xtext.common.types.TypesFactory
eINSTANCE
 
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
TypesFactoryImpl()
          Creates an instance of the factory
 
Method Summary
 java.lang.String convertIterableToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertJvmVisibilityToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
           
 org.eclipse.emf.ecore.EObject create(org.eclipse.emf.ecore.EClass eClass)
           
 java.lang.Object createFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
           
 java.lang.Iterable<?> createIterableFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
           
 JvmAnnotationAnnotationValue createJvmAnnotationAnnotationValue()
           
 JvmAnnotationReference createJvmAnnotationReference()
           
 JvmAnnotationType createJvmAnnotationType()
           
 JvmAnyTypeReference createJvmAnyTypeReference()
           
 JvmArrayType createJvmArrayType()
           
 JvmBooleanAnnotationValue createJvmBooleanAnnotationValue()
           
 JvmByteAnnotationValue createJvmByteAnnotationValue()
           
 JvmCharAnnotationValue createJvmCharAnnotationValue()
           
 JvmConstructor createJvmConstructor()
           
 JvmDoubleAnnotationValue createJvmDoubleAnnotationValue()
           
 JvmEnumAnnotationValue createJvmEnumAnnotationValue()
           
 JvmEnumerationLiteral createJvmEnumerationLiteral()
           
 JvmEnumerationType createJvmEnumerationType()
           
 JvmField createJvmField()
           
 JvmFloatAnnotationValue createJvmFloatAnnotationValue()
           
 JvmFormalParameter createJvmFormalParameter()
           
 JvmGenericArrayTypeReference createJvmGenericArrayTypeReference()
           
 JvmGenericType createJvmGenericType()
           
 JvmIntAnnotationValue createJvmIntAnnotationValue()
           
 JvmLongAnnotationValue createJvmLongAnnotationValue()
           
 JvmLowerBound createJvmLowerBound()
           
 JvmMultiTypeReference createJvmMultiTypeReference()
           
 JvmOperation createJvmOperation()
           
 JvmParameterizedTypeReference createJvmParameterizedTypeReference()
           
 JvmPrimitiveType createJvmPrimitiveType()
           
 JvmShortAnnotationValue createJvmShortAnnotationValue()
           
 JvmStringAnnotationValue createJvmStringAnnotationValue()
           
 JvmTypeAnnotationValue createJvmTypeAnnotationValue()
           
 JvmTypeParameter createJvmTypeParameter()
           
 JvmUpperBound createJvmUpperBound()
           
 JvmVisibility createJvmVisibilityFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
           
 JvmVoid createJvmVoid()
           
 JvmWildcardTypeReference createJvmWildcardTypeReference()
           
static TypesPackage getPackage()
          Deprecated.  
 TypesPackage getTypesPackage()
           
static TypesFactory init()
          Creates the default factory implementation
 
Methods inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl
basicCreate, basicSetEPackage, collapseWhiteSpace, convertToString, createFromString, eGet, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eSet, eStaticClass, eUnset, getEPackage, replaceWhiteSpace, setEPackage, split
 
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eObjectForURIFragmentSegment, eSetDirectResource, eURIFragmentSegment, freeze, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozen
 
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, 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, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues, toString
 
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.emf.ecore.EFactory
getEPackage, setEPackage
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, 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

TypesFactoryImpl

public TypesFactoryImpl()
Creates an instance of the factory.

EMF generated code
Method Detail

init

public static TypesFactory init()
Creates the default factory implementation.

EMF generated code

create

public org.eclipse.emf.ecore.EObject create(org.eclipse.emf.ecore.EClass eClass)

Specified by:
create in interface org.eclipse.emf.ecore.EFactory
Overrides:
create in class org.eclipse.emf.ecore.impl.EFactoryImpl
EMF generated code

createFromString

public java.lang.Object createFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                         java.lang.String initialValue)

Specified by:
createFromString in interface org.eclipse.emf.ecore.EFactory
Overrides:
createFromString in class org.eclipse.emf.ecore.impl.EFactoryImpl
EMF generated code

convertToString

public java.lang.String convertToString(org.eclipse.emf.ecore.EDataType eDataType,
                                        java.lang.Object instanceValue)

Specified by:
convertToString in interface org.eclipse.emf.ecore.EFactory
Overrides:
convertToString in class org.eclipse.emf.ecore.impl.EFactoryImpl
EMF generated code

createJvmVoid

public JvmVoid createJvmVoid()

Specified by:
createJvmVoid in interface TypesFactory
Returns:
a new object of class 'Jvm Void'.
EMF generated code

createJvmPrimitiveType

public JvmPrimitiveType createJvmPrimitiveType()

Specified by:
createJvmPrimitiveType in interface TypesFactory
Returns:
a new object of class 'Jvm Primitive Type'.
EMF generated code

createJvmArrayType

public JvmArrayType createJvmArrayType()

Specified by:
createJvmArrayType in interface TypesFactory
Returns:
a new object of class 'Jvm Array Type'.
EMF generated code

createJvmTypeParameter

public JvmTypeParameter createJvmTypeParameter()

Specified by:
createJvmTypeParameter in interface TypesFactory
Returns:
a new object of class 'Jvm Type Parameter'.
EMF generated code

createJvmUpperBound

public JvmUpperBound createJvmUpperBound()

Specified by:
createJvmUpperBound in interface TypesFactory
Returns:
a new object of class 'Jvm Upper Bound'.
EMF generated code

createJvmLowerBound

public JvmLowerBound createJvmLowerBound()

Specified by:
createJvmLowerBound in interface TypesFactory
Returns:
a new object of class 'Jvm Lower Bound'.
EMF generated code

createJvmAnnotationType

public JvmAnnotationType createJvmAnnotationType()

Specified by:
createJvmAnnotationType in interface TypesFactory
Returns:
a new object of class 'Jvm Annotation Type'.
EMF generated code

createJvmEnumerationType

public JvmEnumerationType createJvmEnumerationType()

Specified by:
createJvmEnumerationType in interface TypesFactory
Returns:
a new object of class 'Jvm Enumeration Type'.
EMF generated code

createJvmEnumerationLiteral

public JvmEnumerationLiteral createJvmEnumerationLiteral()

Specified by:
createJvmEnumerationLiteral in interface TypesFactory
Returns:
a new object of class 'Jvm Enumeration Literal'.
EMF generated code

createJvmGenericType

public JvmGenericType createJvmGenericType()

Specified by:
createJvmGenericType in interface TypesFactory
Returns:
a new object of class 'Jvm Generic Type'.
EMF generated code

createJvmParameterizedTypeReference

public JvmParameterizedTypeReference createJvmParameterizedTypeReference()

Specified by:
createJvmParameterizedTypeReference in interface TypesFactory
Returns:
a new object of class 'Jvm Parameterized Type Reference'.
EMF generated code

createJvmGenericArrayTypeReference

public JvmGenericArrayTypeReference createJvmGenericArrayTypeReference()

Specified by:
createJvmGenericArrayTypeReference in interface TypesFactory
Returns:
a new object of class 'Jvm Generic Array Type Reference'.
EMF generated code

createJvmWildcardTypeReference

public JvmWildcardTypeReference createJvmWildcardTypeReference()

Specified by:
createJvmWildcardTypeReference in interface TypesFactory
Returns:
a new object of class 'Jvm Wildcard Type Reference'.
EMF generated code

createJvmAnyTypeReference

public JvmAnyTypeReference createJvmAnyTypeReference()

Specified by:
createJvmAnyTypeReference in interface TypesFactory
Returns:
a new object of class 'Jvm Any Type Reference'.
EMF generated code

createJvmMultiTypeReference

public JvmMultiTypeReference createJvmMultiTypeReference()

Specified by:
createJvmMultiTypeReference in interface TypesFactory
Returns:
a new object of class 'Jvm Multi Type Reference'.
EMF generated code

createJvmField

public JvmField createJvmField()

Specified by:
createJvmField in interface TypesFactory
Returns:
a new object of class 'Jvm Field'.
EMF generated code

createJvmConstructor

public JvmConstructor createJvmConstructor()

Specified by:
createJvmConstructor in interface TypesFactory
Returns:
a new object of class 'Jvm Constructor'.
EMF generated code

createJvmOperation

public JvmOperation createJvmOperation()

Specified by:
createJvmOperation in interface TypesFactory
Returns:
a new object of class 'Jvm Operation'.
EMF generated code

createJvmFormalParameter

public JvmFormalParameter createJvmFormalParameter()

Specified by:
createJvmFormalParameter in interface TypesFactory
Returns:
a new object of class 'Jvm Formal Parameter'.
EMF generated code

createJvmAnnotationReference

public JvmAnnotationReference createJvmAnnotationReference()

Specified by:
createJvmAnnotationReference in interface TypesFactory
Returns:
a new object of class 'Jvm Annotation Reference'.
EMF generated code

createJvmIntAnnotationValue

public JvmIntAnnotationValue createJvmIntAnnotationValue()

Specified by:
createJvmIntAnnotationValue in interface TypesFactory
Returns:
a new object of class 'Jvm Int Annotation Value'.
EMF generated code

createJvmBooleanAnnotationValue

public JvmBooleanAnnotationValue createJvmBooleanAnnotationValue()

Specified by:
createJvmBooleanAnnotationValue in interface TypesFactory
Returns:
a new object of class 'Jvm Boolean Annotation Value'.
EMF generated code

createJvmByteAnnotationValue

public JvmByteAnnotationValue createJvmByteAnnotationValue()

Specified by:
createJvmByteAnnotationValue in interface TypesFactory
Returns:
a new object of class 'Jvm Byte Annotation Value'.
EMF generated code

createJvmShortAnnotationValue

public JvmShortAnnotationValue createJvmShortAnnotationValue()

Specified by:
createJvmShortAnnotationValue in interface TypesFactory
Returns:
a new object of class 'Jvm Short Annotation Value'.
EMF generated code

createJvmLongAnnotationValue

public JvmLongAnnotationValue createJvmLongAnnotationValue()

Specified by:
createJvmLongAnnotationValue in interface TypesFactory
Returns:
a new object of class 'Jvm Long Annotation Value'.
EMF generated code

createJvmDoubleAnnotationValue

public JvmDoubleAnnotationValue createJvmDoubleAnnotationValue()

Specified by:
createJvmDoubleAnnotationValue in interface TypesFactory
Returns:
a new object of class 'Jvm Double Annotation Value'.
EMF generated code

createJvmFloatAnnotationValue

public JvmFloatAnnotationValue createJvmFloatAnnotationValue()

Specified by:
createJvmFloatAnnotationValue in interface TypesFactory
Returns:
a new object of class 'Jvm Float Annotation Value'.
EMF generated code

createJvmCharAnnotationValue

public JvmCharAnnotationValue createJvmCharAnnotationValue()

Specified by:
createJvmCharAnnotationValue in interface TypesFactory
Returns:
a new object of class 'Jvm Char Annotation Value'.
EMF generated code

createJvmStringAnnotationValue

public JvmStringAnnotationValue createJvmStringAnnotationValue()

Specified by:
createJvmStringAnnotationValue in interface TypesFactory
Returns:
a new object of class 'Jvm String Annotation Value'.
EMF generated code

createJvmTypeAnnotationValue

public JvmTypeAnnotationValue createJvmTypeAnnotationValue()

Specified by:
createJvmTypeAnnotationValue in interface TypesFactory
Returns:
a new object of class 'Jvm Type Annotation Value'.
EMF generated code

createJvmAnnotationAnnotationValue

public JvmAnnotationAnnotationValue createJvmAnnotationAnnotationValue()

Specified by:
createJvmAnnotationAnnotationValue in interface TypesFactory
Returns:
a new object of class 'Jvm Annotation Annotation Value'.
EMF generated code

createJvmEnumAnnotationValue

public JvmEnumAnnotationValue createJvmEnumAnnotationValue()

Specified by:
createJvmEnumAnnotationValue in interface TypesFactory
Returns:
a new object of class 'Jvm Enum Annotation Value'.
EMF generated code

createJvmVisibilityFromString

public JvmVisibility createJvmVisibilityFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                                   java.lang.String initialValue)

EMF generated code

convertJvmVisibilityToString

public java.lang.String convertJvmVisibilityToString(org.eclipse.emf.ecore.EDataType eDataType,
                                                     java.lang.Object instanceValue)

EMF generated code

createIterableFromString

public java.lang.Iterable<?> createIterableFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                                      java.lang.String initialValue)

EMF generated code

convertIterableToString

public java.lang.String convertIterableToString(org.eclipse.emf.ecore.EDataType eDataType,
                                                java.lang.Object instanceValue)

EMF generated code

getTypesPackage

public TypesPackage getTypesPackage()

Specified by:
getTypesPackage in interface TypesFactory
Returns:
the package supported by this factory.
EMF generated code

getPackage

@Deprecated
public static TypesPackage getPackage()
Deprecated. 

EMF generated code