public class Ecore2ASDeclarationSwitch
extends org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object>
Modifier and Type | Field and Description |
---|---|
protected AbstractExternal2AS |
converter |
protected EnvironmentFactoryInternal |
environmentFactory |
protected Technology |
technology |
Constructor and Description |
---|
Ecore2ASDeclarationSwitch(AbstractExternal2AS converter) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
caseEAnnotation(org.eclipse.emf.ecore.EAnnotation eObject) |
java.lang.Object |
caseEAttribute(org.eclipse.emf.ecore.EAttribute eObject) |
java.lang.Object |
caseEClass(org.eclipse.emf.ecore.EClass eObject) |
java.lang.Object |
caseEDataType(org.eclipse.emf.ecore.EDataType eObject) |
java.lang.Object |
caseEEnum(org.eclipse.emf.ecore.EEnum eObject) |
java.lang.Object |
caseEEnumLiteral(org.eclipse.emf.ecore.EEnumLiteral eEnumLiteral) |
java.lang.Object |
caseEGenericType(org.eclipse.emf.ecore.EGenericType eObject) |
java.lang.Object |
caseEOperation(org.eclipse.emf.ecore.EOperation eObject) |
java.lang.Object |
caseEPackage(org.eclipse.emf.ecore.EPackage eObject) |
java.lang.Object |
caseEParameter(org.eclipse.emf.ecore.EParameter eObject) |
java.lang.Object |
caseEReference(org.eclipse.emf.ecore.EReference eObject) |
java.lang.Object |
caseETypeParameter(org.eclipse.emf.ecore.ETypeParameter eObject) |
protected Constraint |
convertEOperation2Constraint(org.eclipse.emf.ecore.EOperation eOperation) |
protected Operation |
convertEOperation2Operation(org.eclipse.emf.ecore.EOperation eOperation) |
protected java.util.List<org.eclipse.emf.ecore.EAnnotation> |
convertEOperationEAnnotations(Operation pivotElement,
org.eclipse.emf.ecore.EOperation eOperation) |
protected void |
copyAnnotatedElement(NamedElement pivotElement,
org.eclipse.emf.ecore.EModelElement eModelElement,
java.util.List<org.eclipse.emf.ecore.EAnnotation> excludedAnnotations)
Convert all eModelElement EAnnotations to pivotElement Annotations except specifically excludedAnnotations.
|
protected void |
copyAnnotationComment(Constraint pivotElement,
org.eclipse.emf.ecore.EAnnotation eModelElement,
java.lang.String key)
Convert all eModelElement EAnnotations to pivotElement Annotations except specifically excludedAnnotations.
|
protected void |
copyClassifier(Class pivotElement,
org.eclipse.emf.ecore.EClassifier eClassifier,
java.util.List<org.eclipse.emf.ecore.EAnnotation> excludedAnnotations) |
protected void |
copyDataTypeOrEnum(DataType pivotElement,
org.eclipse.emf.ecore.EDataType eDataType) |
protected void |
copyNamedElement(NamedElement pivotElement,
org.eclipse.emf.ecore.ENamedElement eNamedElement) |
protected void |
copyStructuralFeature(Property pivotElement,
org.eclipse.emf.ecore.EStructuralFeature eObject,
java.util.List<org.eclipse.emf.ecore.EAnnotation> excludedAnnotations) |
protected void |
copyTemplateSignature(TemplateableElement pivotElement,
java.util.List<org.eclipse.emf.ecore.ETypeParameter> eTypeParameters) |
protected void |
copyTypedElement(TypedElement pivotElement,
org.eclipse.emf.ecore.ETypedElement eTypedElement,
java.util.List<org.eclipse.emf.ecore.EAnnotation> excludedAnnotations) |
Element |
defaultCase(org.eclipse.emf.ecore.EObject object) |
java.lang.Object |
doInPackageSwitch(org.eclipse.emf.ecore.EObject eObject) |
<T extends Element> |
doSwitchAll(java.util.List<? extends org.eclipse.emf.ecore.EObject> eObjects) |
<T extends Element> |
doSwitchAll(java.util.List<T> pivotObjects,
java.util.List<? extends org.eclipse.emf.ecore.EObject> eObjects) |
static boolean |
hasDocumentationKey(java.lang.String source,
org.eclipse.emf.common.util.EMap<java.lang.String,java.lang.String> details) |
static boolean |
hasImportKey(java.lang.String source,
org.eclipse.emf.common.util.EMap<java.lang.String,java.lang.String> details) |
static boolean |
isDocumentationKey(java.lang.String source,
java.lang.String key) |
protected java.util.List<org.eclipse.emf.ecore.EAnnotation> |
refreshTypeConstraints(Class pivotElement,
org.eclipse.emf.ecore.EClassifier eClassifier,
java.util.List<org.eclipse.emf.ecore.EAnnotation> excludedAnnotations) |
@NonNull protected final AbstractExternal2AS converter
@NonNull protected final EnvironmentFactoryInternal environmentFactory
@NonNull protected final Technology technology
public Ecore2ASDeclarationSwitch(@NonNull AbstractExternal2AS converter)
public static boolean hasDocumentationKey(@Nullable java.lang.String source, @NonNull org.eclipse.emf.common.util.EMap<java.lang.String,java.lang.String> details)
public static boolean hasImportKey(@Nullable java.lang.String source, @NonNull org.eclipse.emf.common.util.EMap<java.lang.String,java.lang.String> details)
public static boolean isDocumentationKey(@Nullable java.lang.String source, @Nullable java.lang.String key)
public java.lang.Object caseEAnnotation(org.eclipse.emf.ecore.EAnnotation eObject)
caseEAnnotation
in class org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object>
public java.lang.Object caseEAttribute(org.eclipse.emf.ecore.EAttribute eObject)
caseEAttribute
in class org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object>
public java.lang.Object caseEClass(org.eclipse.emf.ecore.EClass eObject)
caseEClass
in class org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object>
public java.lang.Object caseEDataType(org.eclipse.emf.ecore.EDataType eObject)
caseEDataType
in class org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object>
public java.lang.Object caseEEnum(org.eclipse.emf.ecore.EEnum eObject)
caseEEnum
in class org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object>
public java.lang.Object caseEEnumLiteral(org.eclipse.emf.ecore.EEnumLiteral eEnumLiteral)
caseEEnumLiteral
in class org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object>
public java.lang.Object caseEGenericType(org.eclipse.emf.ecore.EGenericType eObject)
caseEGenericType
in class org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object>
public java.lang.Object caseEOperation(org.eclipse.emf.ecore.EOperation eObject)
caseEOperation
in class org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object>
public java.lang.Object caseEPackage(org.eclipse.emf.ecore.EPackage eObject)
caseEPackage
in class org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object>
public java.lang.Object caseEParameter(org.eclipse.emf.ecore.EParameter eObject)
caseEParameter
in class org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object>
public java.lang.Object caseEReference(org.eclipse.emf.ecore.EReference eObject)
caseEReference
in class org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object>
public java.lang.Object caseETypeParameter(org.eclipse.emf.ecore.ETypeParameter eObject)
caseETypeParameter
in class org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object>
@NonNull protected Constraint convertEOperation2Constraint(@NonNull org.eclipse.emf.ecore.EOperation eOperation)
@NonNull protected Operation convertEOperation2Operation(@NonNull org.eclipse.emf.ecore.EOperation eOperation)
@Nullable protected java.util.List<org.eclipse.emf.ecore.EAnnotation> convertEOperationEAnnotations(@NonNull Operation pivotElement, @NonNull org.eclipse.emf.ecore.EOperation eOperation)
protected void copyClassifier(Class pivotElement, @NonNull org.eclipse.emf.ecore.EClassifier eClassifier, @Nullable java.util.List<org.eclipse.emf.ecore.EAnnotation> excludedAnnotations)
protected void copyDataTypeOrEnum(@NonNull DataType pivotElement, @NonNull org.eclipse.emf.ecore.EDataType eDataType)
protected void copyTemplateSignature(@NonNull TemplateableElement pivotElement, @NonNull java.util.List<org.eclipse.emf.ecore.ETypeParameter> eTypeParameters)
protected void copyAnnotatedElement(@NonNull NamedElement pivotElement, @NonNull org.eclipse.emf.ecore.EModelElement eModelElement, java.util.List<org.eclipse.emf.ecore.EAnnotation> excludedAnnotations)
protected void copyAnnotationComment(@NonNull Constraint pivotElement, @NonNull org.eclipse.emf.ecore.EAnnotation eModelElement, @NonNull java.lang.String key)
protected void copyNamedElement(@NonNull NamedElement pivotElement, @NonNull org.eclipse.emf.ecore.ENamedElement eNamedElement)
protected void copyStructuralFeature(@NonNull Property pivotElement, @NonNull org.eclipse.emf.ecore.EStructuralFeature eObject, java.util.List<org.eclipse.emf.ecore.EAnnotation> excludedAnnotations)
protected void copyTypedElement(@NonNull TypedElement pivotElement, @NonNull org.eclipse.emf.ecore.ETypedElement eTypedElement, java.util.List<org.eclipse.emf.ecore.EAnnotation> excludedAnnotations)
public Element defaultCase(org.eclipse.emf.ecore.EObject object)
defaultCase
in class org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object>
public java.lang.Object doInPackageSwitch(org.eclipse.emf.ecore.EObject eObject)
public <T extends Element> void doSwitchAll(java.util.List<T> pivotObjects, java.util.List<? extends org.eclipse.emf.ecore.EObject> eObjects)
public <T extends Element> void doSwitchAll(java.util.List<? extends org.eclipse.emf.ecore.EObject> eObjects)
protected java.util.List<org.eclipse.emf.ecore.EAnnotation> refreshTypeConstraints(Class pivotElement, @NonNull org.eclipse.emf.ecore.EClassifier eClassifier, @Nullable java.util.List<org.eclipse.emf.ecore.EAnnotation> excludedAnnotations)