Class ModifiersAdapterFactory

java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
org.emftext.language.java.modifiers.util.ModifiersAdapterFactory
All Implemented Interfaces:
AdapterFactory
Direct Known Subclasses:
ModifiersItemProviderAdapterFactory

public class ModifiersAdapterFactory extends AdapterFactoryImpl
The Adapter Factory for the model. It provides an adapter createXXX method for each class of the model.
See Also:
Generated class or method.
  • Field Details

    • 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 Details

    • ModifiersAdapterFactory

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

    • 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:
      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:
      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:
      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:
      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:
      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:
      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:
      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:
      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:
      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:
      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:
      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:
      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:
      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:
      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:
      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:
      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:
      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:
      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:
      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:
      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.