Class XtendAdapterFactory

  • All Implemented Interfaces:
    org.eclipse.emf.common.notify.AdapterFactory

    public class XtendAdapterFactory
    extends org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
    The Adapter Factory for the model. It provides an adapter createXXX method for each class of the model.
    See Also:
    XtendPackage
    Generated:
    • Field Detail

      • modelPackage

        protected static XtendPackage modelPackage
        The cached model package.
        Generated:
      • modelSwitch

        protected XtendSwitch<org.eclipse.emf.common.notify.Adapter> modelSwitch
        The switch that delegates to the createXXX methods.
        Generated:
    • Constructor Detail

      • XtendAdapterFactory

        public XtendAdapterFactory()
        Creates an instance of the adapter factory.
        Generated:
    • Method Detail

      • isFactoryForType

        public boolean isFactoryForType​(java.lang.Object object)
        Returns whether this factory is applicable for the type of the object. This implementation returns true if the object is either the model's package or is an instance object of the model.
        Specified by:
        isFactoryForType in interface org.eclipse.emf.common.notify.AdapterFactory
        Overrides:
        isFactoryForType in class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
        Returns:
        whether this factory is applicable for the type of the object.
        Generated:
      • createAdapter

        public org.eclipse.emf.common.notify.Adapter createAdapter​(org.eclipse.emf.common.notify.Notifier target)
        Creates an adapter for the target.
        Overrides:
        createAdapter in class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
        Parameters:
        target - the object to adapt.
        Returns:
        the adapter for the target.
        Generated:
      • createXtendFileAdapter

        public org.eclipse.emf.common.notify.Adapter createXtendFileAdapter()
        Creates a new adapter for an object of class 'File'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        XtendFile
        Generated:
      • createXtendClassAdapter

        public org.eclipse.emf.common.notify.Adapter createXtendClassAdapter()
        Creates a new adapter for an object of class 'Class'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        XtendClass
        Generated:
      • createXtendAnnotationTargetAdapter

        public org.eclipse.emf.common.notify.Adapter createXtendAnnotationTargetAdapter()
        Creates a new adapter for an object of class 'Annotation Target'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        XtendAnnotationTarget
        Generated:
      • createXtendMemberAdapter

        public org.eclipse.emf.common.notify.Adapter createXtendMemberAdapter()
        Creates a new adapter for an object of class 'Member'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        XtendMember
        Generated:
      • createXtendFunctionAdapter

        public org.eclipse.emf.common.notify.Adapter createXtendFunctionAdapter()
        Creates a new adapter for an object of class 'Function'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        XtendFunction
        Generated:
      • createXtendFieldAdapter

        public org.eclipse.emf.common.notify.Adapter createXtendFieldAdapter()
        Creates a new adapter for an object of class 'Field'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        XtendField
        Generated:
      • createXtendParameterAdapter

        public org.eclipse.emf.common.notify.Adapter createXtendParameterAdapter()
        Creates a new adapter for an object of class 'Parameter'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        XtendParameter
        Generated:
      • createRichStringAdapter

        public org.eclipse.emf.common.notify.Adapter createRichStringAdapter()
        Creates a new adapter for an object of class 'Rich String'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        RichString
        Generated:
      • createRichStringLiteralAdapter

        public org.eclipse.emf.common.notify.Adapter createRichStringLiteralAdapter()
        Creates a new adapter for an object of class 'Rich String Literal'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        RichStringLiteral
        Generated:
      • createRichStringForLoopAdapter

        public org.eclipse.emf.common.notify.Adapter createRichStringForLoopAdapter()
        Creates a new adapter for an object of class 'Rich String For Loop'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        RichStringForLoop
        Generated:
      • createRichStringIfAdapter

        public org.eclipse.emf.common.notify.Adapter createRichStringIfAdapter()
        Creates a new adapter for an object of class 'Rich String If'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        RichStringIf
        Generated:
      • createRichStringElseIfAdapter

        public org.eclipse.emf.common.notify.Adapter createRichStringElseIfAdapter()
        Creates a new adapter for an object of class 'Rich String Else If'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        RichStringElseIf
        Generated:
      • createCreateExtensionInfoAdapter

        public org.eclipse.emf.common.notify.Adapter createCreateExtensionInfoAdapter()
        Creates a new adapter for an object of class 'Create Extension Info'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        CreateExtensionInfo
        Generated:
      • createXtendConstructorAdapter

        public org.eclipse.emf.common.notify.Adapter createXtendConstructorAdapter()
        Creates a new adapter for an object of class 'Constructor'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        XtendConstructor
        Generated:
      • createXtendTypeDeclarationAdapter

        public org.eclipse.emf.common.notify.Adapter createXtendTypeDeclarationAdapter()
        Creates a new adapter for an object of class 'Type Declaration'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        XtendTypeDeclaration
        Generated:
      • createXtendAnnotationTypeAdapter

        public org.eclipse.emf.common.notify.Adapter createXtendAnnotationTypeAdapter()
        Creates a new adapter for an object of class 'Annotation Type'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        XtendAnnotationType
        Generated:
      • createXtendInterfaceAdapter

        public org.eclipse.emf.common.notify.Adapter createXtendInterfaceAdapter()
        Creates a new adapter for an object of class 'Interface'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        XtendInterface
        Generated:
      • createXtendEnumAdapter

        public org.eclipse.emf.common.notify.Adapter createXtendEnumAdapter()
        Creates a new adapter for an object of class 'Enum'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        XtendEnum
        Generated:
      • createXtendEnumLiteralAdapter

        public org.eclipse.emf.common.notify.Adapter createXtendEnumLiteralAdapter()
        Creates a new adapter for an object of class 'Enum Literal'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        XtendEnumLiteral
        Generated:
      • createXtendVariableDeclarationAdapter

        public org.eclipse.emf.common.notify.Adapter createXtendVariableDeclarationAdapter()
        Creates a new adapter for an object of class 'Variable Declaration'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        XtendVariableDeclaration
        Generated:
      • createXtendFormalParameterAdapter

        public org.eclipse.emf.common.notify.Adapter createXtendFormalParameterAdapter()
        Creates a new adapter for an object of class 'Formal Parameter'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        XtendFormalParameter
        Generated:
      • createXtendExecutableAdapter

        public org.eclipse.emf.common.notify.Adapter createXtendExecutableAdapter()
        Creates a new adapter for an object of class 'Executable'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        XtendExecutable
        Generated:
      • createAnonymousClassAdapter

        public org.eclipse.emf.common.notify.Adapter createAnonymousClassAdapter()
        Creates a new adapter for an object of class 'Anonymous Class'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        AnonymousClass
        Generated:
      • createXExpressionAdapter

        public org.eclipse.emf.common.notify.Adapter createXExpressionAdapter()
        Creates a new adapter for an object of class 'XExpression'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        Since:
        2.7
        See Also:
        XExpression
        Generated:
      • createXBlockExpressionAdapter

        public org.eclipse.emf.common.notify.Adapter createXBlockExpressionAdapter()
        Creates a new adapter for an object of class 'XBlock Expression'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        Since:
        2.7
        See Also:
        XBlockExpression
        Generated:
      • createXStringLiteralAdapter

        public org.eclipse.emf.common.notify.Adapter createXStringLiteralAdapter()
        Creates a new adapter for an object of class 'XString Literal'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        Since:
        2.7
        See Also:
        XStringLiteral
        Generated:
      • createXForLoopExpressionAdapter

        public org.eclipse.emf.common.notify.Adapter createXForLoopExpressionAdapter()
        Creates a new adapter for an object of class 'XFor Loop Expression'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        Since:
        2.7
        See Also:
        XForLoopExpression
        Generated:
      • createJvmIdentifiableElementAdapter

        public org.eclipse.emf.common.notify.Adapter createJvmIdentifiableElementAdapter()
        Creates a new adapter for an object of class 'Jvm Identifiable Element'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        JvmIdentifiableElement
        Generated:
      • createXVariableDeclarationAdapter

        public org.eclipse.emf.common.notify.Adapter createXVariableDeclarationAdapter()
        Creates a new adapter for an object of class 'XVariable Declaration'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        Since:
        2.7
        See Also:
        XVariableDeclaration
        Generated:
      • createJvmAnnotationTargetAdapter

        public org.eclipse.emf.common.notify.Adapter createJvmAnnotationTargetAdapter()
        Creates a new adapter for an object of class 'Jvm Annotation Target'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        JvmAnnotationTarget
        Generated:
      • createJvmFormalParameterAdapter

        public org.eclipse.emf.common.notify.Adapter createJvmFormalParameterAdapter()
        Creates a new adapter for an object of class 'Jvm Formal Parameter'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.
        Returns:
        the new adapter.
        See Also:
        JvmFormalParameter
        Generated:
      • createEObjectAdapter

        public org.eclipse.emf.common.notify.Adapter createEObjectAdapter()
        Creates a new adapter for the default case. This default implementation returns null.
        Returns:
        the new adapter.
        Generated: