Class StatementsAdapterFactory

    • Field Detail

      • modelPackage

        protected static StatementsPackage modelPackage
        The cached model package.
        Generated class or method.
      • modelSwitch

        protected StatementsSwitch<Adapter> modelSwitch
        The switch that delegates to the createXXX methods.
        Generated class or method.
    • Constructor Detail

      • StatementsAdapterFactory

        public StatementsAdapterFactory()
        Creates an instance of the adapter factory.
        Generated class or method.
    • Method Detail

      • isFactoryForType

        public boolean isFactoryForType​(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 AdapterFactory
        Overrides:
        isFactoryForType in class AdapterFactoryImpl
        Returns:
        whether this factory is applicable for the type of the object.
        Generated class or method.
      • createAdapter

        public Adapter createAdapter​(Notifier target)
        Creates an adapter for the target.
        Overrides:
        createAdapter in class AdapterFactoryImpl
        Parameters:
        target - the object to adapt.
        Returns:
        the adapter for the target.
        Generated class or method.
      • createStatementContainerAdapter

        public Adapter createStatementContainerAdapter()
        Creates a new adapter for an object of class 'Statement Container'. 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:
        StatementContainer
        Generated class or method.
      • createStatementListContainerAdapter

        public Adapter createStatementListContainerAdapter()
        Creates a new adapter for an object of class 'Statement List Container'. 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:
        StatementListContainer
        Generated class or method.
      • createConditionalAdapter

        public Adapter createConditionalAdapter()
        Creates a new adapter for an object of class 'Conditional'. 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:
        Conditional
        Generated class or method.
      • createForLoopInitializerAdapter

        public Adapter createForLoopInitializerAdapter()
        Creates a new adapter for an object of class 'For Loop Initializer'. 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:
        ForLoopInitializer
        Generated class or method.
      • createStatementAdapter

        public Adapter createStatementAdapter()
        Creates a new adapter for an object of class 'Statement'. 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:
        Statement
        Generated class or method.
      • createSwitchCaseAdapter

        public Adapter createSwitchCaseAdapter()
        Creates a new adapter for an object of class 'Switch Case'. 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:
        SwitchCase
        Generated class or method.
      • createAssertAdapter

        public Adapter createAssertAdapter()
        Creates a new adapter for an object of class 'Assert'. 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:
        Assert
        Generated class or method.
      • createBreakAdapter

        public Adapter createBreakAdapter()
        Creates a new adapter for an object of class 'Break'. 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:
        Break
        Generated class or method.
      • createBlockAdapter

        public Adapter createBlockAdapter()
        Creates a new adapter for an object of class 'Block'. 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:
        Block
        Generated class or method.
      • createCatchBlockAdapter

        public Adapter createCatchBlockAdapter()
        Creates a new adapter for an object of class 'Catch Block'. 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:
        CatchBlock
        Generated class or method.
      • createConditionAdapter

        public Adapter createConditionAdapter()
        Creates a new adapter for an object of class 'Condition'. 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:
        Condition
        Generated class or method.
      • createContinueAdapter

        public Adapter createContinueAdapter()
        Creates a new adapter for an object of class 'Continue'. 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:
        Continue
        Generated class or method.
      • createDefaultSwitchCaseAdapter

        public Adapter createDefaultSwitchCaseAdapter()
        Creates a new adapter for an object of class 'Default Switch Case'. 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:
        DefaultSwitchCase
        Generated class or method.
      • createDoWhileLoopAdapter

        public Adapter createDoWhileLoopAdapter()
        Creates a new adapter for an object of class 'Do While 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:
        DoWhileLoop
        Generated class or method.
      • createEmptyStatementAdapter

        public Adapter createEmptyStatementAdapter()
        Creates a new adapter for an object of class 'Empty Statement'. 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:
        EmptyStatement
        Generated class or method.
      • createExpressionStatementAdapter

        public Adapter createExpressionStatementAdapter()
        Creates a new adapter for an object of class 'Expression Statement'. 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:
        ExpressionStatement
        Generated class or method.
      • createForLoopAdapter

        public Adapter createForLoopAdapter()
        Creates a new adapter for an object of class '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:
        ForLoop
        Generated class or method.
      • createForEachLoopAdapter

        public Adapter createForEachLoopAdapter()
        Creates a new adapter for an object of class 'For Each 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:
        ForEachLoop
        Generated class or method.
      • createJumpAdapter

        public Adapter createJumpAdapter()
        Creates a new adapter for an object of class 'Jump'. 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:
        Jump
        Generated class or method.
      • createJumpLabelAdapter

        public Adapter createJumpLabelAdapter()
        Creates a new adapter for an object of class 'Jump Label'. 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:
        JumpLabel
        Generated class or method.
      • createLocalVariableStatementAdapter

        public Adapter createLocalVariableStatementAdapter()
        Creates a new adapter for an object of class 'Local Variable Statement'. 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:
        LocalVariableStatement
        Generated class or method.
      • createNormalSwitchCaseAdapter

        public Adapter createNormalSwitchCaseAdapter()
        Creates a new adapter for an object of class 'Normal Switch Case'. 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:
        NormalSwitchCase
        Generated class or method.
      • createReturnAdapter

        public Adapter createReturnAdapter()
        Creates a new adapter for an object of class 'Return'. 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:
        Return
        Generated class or method.
      • createSwitchAdapter

        public Adapter createSwitchAdapter()
        Creates a new adapter for an object of class 'Switch'. 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:
        Switch
        Generated class or method.
      • createSynchronizedBlockAdapter

        public Adapter createSynchronizedBlockAdapter()
        Creates a new adapter for an object of class 'Synchronized Block'. 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:
        SynchronizedBlock
        Generated class or method.
      • createThrowAdapter

        public Adapter createThrowAdapter()
        Creates a new adapter for an object of class 'Throw'. 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:
        Throw
        Generated class or method.
      • createTryBlockAdapter

        public Adapter createTryBlockAdapter()
        Creates a new adapter for an object of class 'Try Block'. 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:
        TryBlock
        Generated class or method.
      • createWhileLoopAdapter

        public Adapter createWhileLoopAdapter()
        Creates a new adapter for an object of class 'While 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:
        WhileLoop
        Generated class or method.
      • createBlockContainerAdapter

        public Adapter createBlockContainerAdapter()
        Creates a new adapter for an object of class 'Block Container'. 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:
        BlockContainer
        Generated class or method.
      • createYieldStatementAdapter

        public Adapter createYieldStatementAdapter()
        Creates a new adapter for an object of class 'Yield Statement'. 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:
        YieldStatement
        Generated class or method.
      • createSwitchRuleAdapter

        public Adapter createSwitchRuleAdapter()
        Creates a new adapter for an object of class 'Switch Rule'. 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:
        SwitchRule
        Generated class or method.
      • createDefaultSwitchRuleAdapter

        public Adapter createDefaultSwitchRuleAdapter()
        Creates a new adapter for an object of class 'Default Switch Rule'. 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:
        DefaultSwitchRule
        Generated class or method.
      • createNormalSwitchRuleAdapter

        public Adapter createNormalSwitchRuleAdapter()
        Creates a new adapter for an object of class 'Normal Switch Rule'. 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:
        NormalSwitchRule
        Generated class or method.
      • createCommentableAdapter

        public Adapter createCommentableAdapter()
        Creates a new adapter for an object of class 'Commentable'. 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:
        Commentable
        Generated class or method.
      • createNamedElementAdapter

        public Adapter createNamedElementAdapter()
        Creates a new adapter for an object of class 'Named 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:
        NamedElement
        Generated class or method.
      • createMemberAdapter

        public Adapter createMemberAdapter()
        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:
        Member
        Generated class or method.
      • createModifiableAdapter

        public Adapter createModifiableAdapter()
        Creates a new adapter for an object of class 'Modifiable'. 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:
        Modifiable
        Generated class or method.
      • createLambdaBodyAdapter

        public Adapter createLambdaBodyAdapter()
        Creates a new adapter for an object of class 'Lambda Body'. 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:
        LambdaBody
        Generated class or method.
      • createArrayInitializationValueAdapter

        public Adapter createArrayInitializationValueAdapter()
        Creates a new adapter for an object of class 'Array Initialization Value'. 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:
        ArrayInitializationValue
        Generated class or method.
      • createExpressionAdapter

        public Adapter createExpressionAdapter()
        Creates a new adapter for an object of class '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.
        See Also:
        Expression
        Generated class or method.
      • createAnnotationValueAdapter

        public Adapter createAnnotationValueAdapter()
        Creates a new adapter for an object of class 'Annotation Value'. 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:
        AnnotationValue
        Generated class or method.
      • createAssignmentExpressionChildAdapter

        public Adapter createAssignmentExpressionChildAdapter()
        Creates a new adapter for an object of class 'Assignment Expression Child'. 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:
        AssignmentExpressionChild
        Generated class or method.
      • createConditionalExpressionChildAdapter

        public Adapter createConditionalExpressionChildAdapter()
        Creates a new adapter for an object of class 'Conditional Expression Child'. 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:
        ConditionalExpressionChild
        Generated class or method.
      • createConditionalOrExpressionChildAdapter

        public Adapter createConditionalOrExpressionChildAdapter()
        Creates a new adapter for an object of class 'Conditional Or Expression Child'. 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:
        ConditionalOrExpressionChild
        Generated class or method.
      • createConditionalAndExpressionChildAdapter

        public Adapter createConditionalAndExpressionChildAdapter()
        Creates a new adapter for an object of class 'Conditional And Expression Child'. 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:
        ConditionalAndExpressionChild
        Generated class or method.
      • createInclusiveOrExpressionChildAdapter

        public Adapter createInclusiveOrExpressionChildAdapter()
        Creates a new adapter for an object of class 'Inclusive Or Expression Child'. 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:
        InclusiveOrExpressionChild
        Generated class or method.
      • createExclusiveOrExpressionChildAdapter

        public Adapter createExclusiveOrExpressionChildAdapter()
        Creates a new adapter for an object of class 'Exclusive Or Expression Child'. 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:
        ExclusiveOrExpressionChild
        Generated class or method.
      • createAndExpressionChildAdapter

        public Adapter createAndExpressionChildAdapter()
        Creates a new adapter for an object of class 'And Expression Child'. 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:
        AndExpressionChild
        Generated class or method.
      • createEqualityExpressionChildAdapter

        public Adapter createEqualityExpressionChildAdapter()
        Creates a new adapter for an object of class 'Equality Expression Child'. 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:
        EqualityExpressionChild
        Generated class or method.
      • createInstanceOfExpressionChildAdapter

        public Adapter createInstanceOfExpressionChildAdapter()
        Creates a new adapter for an object of class 'Instance Of Expression Child'. 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:
        InstanceOfExpressionChild
        Generated class or method.
      • createRelationExpressionChildAdapter

        public Adapter createRelationExpressionChildAdapter()
        Creates a new adapter for an object of class 'Relation Expression Child'. 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:
        RelationExpressionChild
        Generated class or method.
      • createShiftExpressionChildAdapter

        public Adapter createShiftExpressionChildAdapter()
        Creates a new adapter for an object of class 'Shift Expression Child'. 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:
        ShiftExpressionChild
        Generated class or method.
      • createAdditiveExpressionChildAdapter

        public Adapter createAdditiveExpressionChildAdapter()
        Creates a new adapter for an object of class 'Additive Expression Child'. 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:
        AdditiveExpressionChild
        Generated class or method.
      • createMultiplicativeExpressionChildAdapter

        public Adapter createMultiplicativeExpressionChildAdapter()
        Creates a new adapter for an object of class 'Multiplicative Expression Child'. 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:
        MultiplicativeExpressionChild
        Generated class or method.
      • createUnaryExpressionChildAdapter

        public Adapter createUnaryExpressionChildAdapter()
        Creates a new adapter for an object of class 'Unary Expression Child'. 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:
        UnaryExpressionChild
        Generated class or method.
      • createUnaryModificationExpressionChildAdapter

        public Adapter createUnaryModificationExpressionChildAdapter()
        Creates a new adapter for an object of class 'Unary Modification Expression Child'. 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:
        UnaryModificationExpressionChild
        Generated class or method.
      • createEObjectAdapter

        public Adapter createEObjectAdapter()
        Creates a new adapter for the default case. This default implementation returns null.
        Returns:
        the new adapter.
        Generated class or method.