Class ModifiersAdapterFactory

    • Field Detail

      • modelPackage

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

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

      • ModifiersAdapterFactory

        public ModifiersAdapterFactory()
        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.
      • createModifierAdapter

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

        public Adapter createAnnotationInstanceOrModifierAdapter()
        Creates a new adapter for an object of class 'Annotation Instance Or Modifier'. 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:
        AnnotationInstanceOrModifier
        Generated class or method.
      • createAnnotableAndModifiableAdapter

        public Adapter createAnnotableAndModifiableAdapter()
        Creates a new adapter for an object of class 'Annotable And 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:
        AnnotableAndModifiable
        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.
      • createAbstractAdapter

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

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

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

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

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

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

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

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

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

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

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

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

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

        public Adapter createModuleRequiresModifierAdapter()
        Creates a new adapter for an object of class 'Module Requires Modifier'. 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:
        ModuleRequiresModifier
        Generated class or method.
      • createOpenAdapter

        public Adapter createOpenAdapter()
        Creates a new adapter for an object of class 'Open'. 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:
        Open
        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.
      • 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.