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 adaptercreateXXXmethod for each class of the model.- See Also:
ModifiersPackage- Generated class or method.
-
-
Field Summary
Fields Modifier and Type Field Description protected static ModifiersPackagemodelPackageThe cached model package.protected ModifiersSwitch<Adapter>modelSwitchThe switch that delegates to thecreateXXXmethods.
-
Constructor Summary
Constructors Constructor Description ModifiersAdapterFactory()Creates an instance of the adapter factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdaptercreateAbstractAdapter()Creates a new adapter for an object of class 'Abstract'.AdaptercreateAdapter(Notifier target)Creates an adapter for thetarget.AdaptercreateAnnotableAndModifiableAdapter()Creates a new adapter for an object of class 'Annotable And Modifiable'.AdaptercreateAnnotationInstanceOrModifierAdapter()Creates a new adapter for an object of class 'Annotation Instance Or Modifier'.AdaptercreateCommentableAdapter()Creates a new adapter for an object of class 'Commentable'.AdaptercreateDefaultAdapter()Creates a new adapter for an object of class 'Default'.AdaptercreateEObjectAdapter()Creates a new adapter for the default case.AdaptercreateFinalAdapter()Creates a new adapter for an object of class 'Final'.AdaptercreateModifiableAdapter()Creates a new adapter for an object of class 'Modifiable'.AdaptercreateModifierAdapter()Creates a new adapter for an object of class 'Modifier'.AdaptercreateModuleRequiresModifierAdapter()Creates a new adapter for an object of class 'Module Requires Modifier'.AdaptercreateNativeAdapter()Creates a new adapter for an object of class 'Native'.AdaptercreateOpenAdapter()Creates a new adapter for an object of class 'Open'.AdaptercreatePrivateAdapter()Creates a new adapter for an object of class 'Private'.AdaptercreateProtectedAdapter()Creates a new adapter for an object of class 'Protected'.AdaptercreatePublicAdapter()Creates a new adapter for an object of class 'Public'.AdaptercreateStaticAdapter()Creates a new adapter for an object of class 'Static'.AdaptercreateStrictfpAdapter()Creates a new adapter for an object of class 'Strictfp'.AdaptercreateSynchronizedAdapter()Creates a new adapter for an object of class 'Synchronized'.AdaptercreateTransientAdapter()Creates a new adapter for an object of class 'Transient'.AdaptercreateTransitiveAdapter()Creates a new adapter for an object of class 'Transitive'.AdaptercreateVolatileAdapter()Creates a new adapter for an object of class 'Volatile'.booleanisFactoryForType(Object object)Returns whether this factory is applicable for the type of the object.-
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
adapt, adapt, adaptAllNew, adaptNew, associate, createAdapter, resolve
-
-
-
-
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 thecreateXXXmethods.- 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 returnstrueif the object is either the model's package or is an instance object of the model.- Specified by:
isFactoryForTypein interfaceAdapterFactory- Overrides:
isFactoryForTypein classAdapterFactoryImpl- 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 thetarget.- Overrides:
createAdapterin classAdapterFactoryImpl- 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.
-
-