public class AS2EcoreTypeRefVisitor extends AbstractExtendingVisitor<org.eclipse.emf.ecore.EObject,AS2Ecore>
Modifier and Type | Field and Description |
---|---|
protected PivotMetamodelManager |
metamodelManager |
protected StandardLibraryInternal |
standardLibrary |
context
Constructor and Description |
---|
AS2EcoreTypeRefVisitor(AS2Ecore context) |
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.ecore.EGenericType |
resolveEGenericType(Class type) |
org.eclipse.emf.ecore.EObject |
safeVisit(Visitable v)
A null-safe visitation of the specified visitable.
|
<T extends org.eclipse.emf.ecore.EObject> |
safeVisitAll(java.util.List<T> eObjects,
java.util.List<? extends Element> pivotObjects) |
org.eclipse.emf.ecore.EObject |
visitAnyType(AnyType pivotType) |
org.eclipse.emf.ecore.EObject |
visitClass(Class pivotType) |
org.eclipse.emf.ecore.EObject |
visitCollectionType(CollectionType pivotType) |
org.eclipse.emf.ecore.EClassifier |
visiting(Visitable visitable)
Return the result of visiting a visitable for which no more specific pivot type method
is available.
|
org.eclipse.emf.ecore.EObject |
visitInvalidType(InvalidType pivotType) |
org.eclipse.emf.ecore.EObject |
visitMapType(MapType object) |
org.eclipse.emf.ecore.EObject |
visitPrimitiveType(PrimitiveType pivotType) |
org.eclipse.emf.ecore.EObject |
visitTemplateBinding(TemplateBinding object) |
org.eclipse.emf.ecore.EObject |
visitTemplateParameter(TemplateParameter pivotType) |
org.eclipse.emf.ecore.EObject |
visitTemplateParameterSubstitution(TemplateParameterSubstitution pivotTemplateParameterSubstitution) |
org.eclipse.emf.ecore.EObject |
visitVoidType(VoidType pivotType) |
visitAnnotation, visitAssociationClass, visitAssociationClassCallExp, visitBagType, visitBehavior, visitBooleanLiteralExp, visitCallExp, visitCallOperationAction, visitCollectionItem, visitCollectionLiteralExp, visitCollectionLiteralPart, visitCollectionRange, visitComment, visitCompleteClass, visitCompleteEnvironment, visitCompleteModel, visitCompletePackage, visitConnectionPointReference, visitConstraint, visitDataType, visitDetail, visitDynamicBehavior, visitDynamicElement, visitDynamicProperty, visitDynamicType, visitDynamicValueSpecification, visitElement, visitElementExtension, visitEnumeration, visitEnumerationLiteral, visitEnumLiteralExp, visitExpressionInOCL, visitFeature, visitFeatureCallExp, visitFinalState, visitIfExp, visitImport, visitInstanceSpecification, visitIntegerLiteralExp, visitInvalidLiteralExp, visitIterateExp, visitIteration, visitIteratorExp, visitLambdaType, visitLanguageExpression, visitLetExp, visitLibrary, visitLiteralExp, visitLoopExp, visitMapLiteralExp, visitMapLiteralPart, visitMessageExp, visitMessageType, visitModel, visitNamedElement, visitNamespace, visitNavigationCallExp, visitNullLiteralExp, visitNumericLiteralExp, visitOCLExpression, visitOperation, visitOperationCallExp, visitOppositePropertyCallExp, visitOrderedSetType, visitOrphanCompletePackage, visitPackage, visitParameter, visitPrecedence, visitPrimitiveCompletePackage, visitPrimitiveLiteralExp, visitProfile, visitProfileApplication, visitProperty, visitPropertyCallExp, visitPseudostate, visitRealLiteralExp, visitRegion, visitSelfType, visitSendSignalAction, visitSequenceType, visitSetType, visitShadowExp, visitShadowPart, visitSignal, visitSlot, visitStandardLibrary, visitState, visitStateExp, visitStateMachine, visitStereotype, visitStereotypeExtender, visitStringLiteralExp, visitTemplateableElement, visitTemplateSignature, visitTransition, visitTrigger, visitTupleLiteralExp, visitTupleLiteralPart, visitTupleType, visitType, visitTypedElement, visitTypeExp, visitUnlimitedNaturalLiteralExp, visitUnspecifiedValueExp, visitValueSpecification, visitVariable, visitVariableDeclaration, visitVariableExp, visitVertex, visitWildcardType
getAdapter, visit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAdapter
@NonNull protected final PivotMetamodelManager metamodelManager
@NonNull protected final StandardLibraryInternal standardLibrary
public AS2EcoreTypeRefVisitor(@NonNull AS2Ecore context)
public org.eclipse.emf.ecore.EGenericType resolveEGenericType(Class type)
public org.eclipse.emf.ecore.EObject safeVisit(@Nullable Visitable v)
AbstractVisitor
safeVisit
in class AbstractVisitor<org.eclipse.emf.ecore.EObject,AS2Ecore>
v
- a visitable, or null
null
if the visitable is null
;
otherwise, the result of visiting itpublic <T extends org.eclipse.emf.ecore.EObject> void safeVisitAll(java.util.List<T> eObjects, java.util.List<? extends Element> pivotObjects)
public org.eclipse.emf.ecore.EClassifier visiting(@NonNull Visitable visitable)
Visitor
public org.eclipse.emf.ecore.EObject visitAnyType(@NonNull AnyType pivotType)
visitAnyType
in interface Visitor<org.eclipse.emf.ecore.EObject>
visitAnyType
in class AbstractExtendingVisitor<org.eclipse.emf.ecore.EObject,AS2Ecore>
public org.eclipse.emf.ecore.EObject visitClass(Class pivotType)
visitClass
in interface Visitor<org.eclipse.emf.ecore.EObject>
visitClass
in class AbstractExtendingVisitor<org.eclipse.emf.ecore.EObject,AS2Ecore>
public org.eclipse.emf.ecore.EObject visitCollectionType(@NonNull CollectionType pivotType)
visitCollectionType
in interface Visitor<org.eclipse.emf.ecore.EObject>
visitCollectionType
in class AbstractExtendingVisitor<org.eclipse.emf.ecore.EObject,AS2Ecore>
public org.eclipse.emf.ecore.EObject visitInvalidType(@NonNull InvalidType pivotType)
visitInvalidType
in interface Visitor<org.eclipse.emf.ecore.EObject>
visitInvalidType
in class AbstractExtendingVisitor<org.eclipse.emf.ecore.EObject,AS2Ecore>
public org.eclipse.emf.ecore.EObject visitMapType(@NonNull MapType object)
visitMapType
in interface Visitor<org.eclipse.emf.ecore.EObject>
visitMapType
in class AbstractExtendingVisitor<org.eclipse.emf.ecore.EObject,AS2Ecore>
public org.eclipse.emf.ecore.EObject visitPrimitiveType(@NonNull PrimitiveType pivotType)
visitPrimitiveType
in interface Visitor<org.eclipse.emf.ecore.EObject>
visitPrimitiveType
in class AbstractExtendingVisitor<org.eclipse.emf.ecore.EObject,AS2Ecore>
public org.eclipse.emf.ecore.EObject visitTemplateBinding(@NonNull TemplateBinding object)
visitTemplateBinding
in interface Visitor<org.eclipse.emf.ecore.EObject>
visitTemplateBinding
in class AbstractExtendingVisitor<org.eclipse.emf.ecore.EObject,AS2Ecore>
public org.eclipse.emf.ecore.EObject visitTemplateParameter(@NonNull TemplateParameter pivotType)
visitTemplateParameter
in interface Visitor<org.eclipse.emf.ecore.EObject>
visitTemplateParameter
in class AbstractExtendingVisitor<org.eclipse.emf.ecore.EObject,AS2Ecore>
public org.eclipse.emf.ecore.EObject visitTemplateParameterSubstitution(@NonNull TemplateParameterSubstitution pivotTemplateParameterSubstitution)
visitTemplateParameterSubstitution
in interface Visitor<org.eclipse.emf.ecore.EObject>
visitTemplateParameterSubstitution
in class AbstractExtendingVisitor<org.eclipse.emf.ecore.EObject,AS2Ecore>
public org.eclipse.emf.ecore.EObject visitVoidType(@NonNull VoidType pivotType)
visitVoidType
in interface Visitor<org.eclipse.emf.ecore.EObject>
visitVoidType
in class AbstractExtendingVisitor<org.eclipse.emf.ecore.EObject,AS2Ecore>