Package jamopp.printer
Class ModifiersPrinterSwitch
- java.lang.Object
-
- org.eclipse.emf.ecore.util.Switch<T>
-
- org.emftext.language.java.modifiers.util.ModifiersSwitch<Boolean>
-
- jamopp.printer.ModifiersPrinterSwitch
-
public class ModifiersPrinterSwitch extends ModifiersSwitch<Boolean>
-
-
Field Summary
-
Fields inherited from class org.emftext.language.java.modifiers.util.ModifiersSwitch
modelPackage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleancaseAbstract(Abstract element)Returns the result of interpreting the object as an instance of 'Abstract'.BooleancaseAnnotableAndModifiable(AnnotableAndModifiable element)Returns the result of interpreting the object as an instance of 'Annotable And Modifiable'.BooleancaseDefault(Default element)Returns the result of interpreting the object as an instance of 'Default'.BooleancaseFinal(Final element)Returns the result of interpreting the object as an instance of 'Final'.BooleancaseNative(Native element)Returns the result of interpreting the object as an instance of 'Native'.BooleancasePrivate(Private element)Returns the result of interpreting the object as an instance of 'Private'.BooleancaseProtected(Protected element)Returns the result of interpreting the object as an instance of 'Protected'.BooleancasePublic(Public element)Returns the result of interpreting the object as an instance of 'Public'.BooleancaseStatic(Static element)Returns the result of interpreting the object as an instance of 'Static'.BooleancaseStrictfp(Strictfp element)Returns the result of interpreting the object as an instance of 'Strictfp'.BooleancaseSynchronized(Synchronized element)Returns the result of interpreting the object as an instance of 'Synchronized'.BooleancaseTransient(Transient element)Returns the result of interpreting the object as an instance of 'Transient'.BooleancaseVolatile(Volatile element)Returns the result of interpreting the object as an instance of 'Volatile'.-
Methods inherited from class org.emftext.language.java.modifiers.util.ModifiersSwitch
caseAnnotationInstanceOrModifier, caseCommentable, caseModifiable, caseModifier, caseModuleRequiresModifier, caseOpen, caseTransitive, defaultCase, doSwitch, isSwitchFor
-
-
-
-
Method Detail
-
caseAbstract
public Boolean caseAbstract(Abstract element)
Description copied from class:ModifiersSwitchReturns the result of interpreting the object as an instance of 'Abstract'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseAbstractin classModifiersSwitch<Boolean>- Parameters:
element- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Abstract'.
- See Also:
doSwitch(EObject)
-
caseFinal
public Boolean caseFinal(Final element)
Description copied from class:ModifiersSwitchReturns the result of interpreting the object as an instance of 'Final'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseFinalin classModifiersSwitch<Boolean>- Parameters:
element- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Final'.
- See Also:
doSwitch(EObject)
-
caseNative
public Boolean caseNative(Native element)
Description copied from class:ModifiersSwitchReturns the result of interpreting the object as an instance of 'Native'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseNativein classModifiersSwitch<Boolean>- Parameters:
element- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Native'.
- See Also:
doSwitch(EObject)
-
caseProtected
public Boolean caseProtected(Protected element)
Description copied from class:ModifiersSwitchReturns the result of interpreting the object as an instance of 'Protected'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseProtectedin classModifiersSwitch<Boolean>- Parameters:
element- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Protected'.
- See Also:
doSwitch(EObject)
-
casePrivate
public Boolean casePrivate(Private element)
Description copied from class:ModifiersSwitchReturns the result of interpreting the object as an instance of 'Private'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
casePrivatein classModifiersSwitch<Boolean>- Parameters:
element- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Private'.
- See Also:
doSwitch(EObject)
-
casePublic
public Boolean casePublic(Public element)
Description copied from class:ModifiersSwitchReturns the result of interpreting the object as an instance of 'Public'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
casePublicin classModifiersSwitch<Boolean>- Parameters:
element- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Public'.
- See Also:
doSwitch(EObject)
-
caseStatic
public Boolean caseStatic(Static element)
Description copied from class:ModifiersSwitchReturns the result of interpreting the object as an instance of 'Static'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseStaticin classModifiersSwitch<Boolean>- Parameters:
element- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Static'.
- See Also:
doSwitch(EObject)
-
caseStrictfp
public Boolean caseStrictfp(Strictfp element)
Description copied from class:ModifiersSwitchReturns the result of interpreting the object as an instance of 'Strictfp'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseStrictfpin classModifiersSwitch<Boolean>- Parameters:
element- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Strictfp'.
- See Also:
doSwitch(EObject)
-
caseSynchronized
public Boolean caseSynchronized(Synchronized element)
Description copied from class:ModifiersSwitchReturns the result of interpreting the object as an instance of 'Synchronized'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseSynchronizedin classModifiersSwitch<Boolean>- Parameters:
element- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Synchronized'.
- See Also:
doSwitch(EObject)
-
caseTransient
public Boolean caseTransient(Transient element)
Description copied from class:ModifiersSwitchReturns the result of interpreting the object as an instance of 'Transient'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseTransientin classModifiersSwitch<Boolean>- Parameters:
element- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Transient'.
- See Also:
doSwitch(EObject)
-
caseVolatile
public Boolean caseVolatile(Volatile element)
Description copied from class:ModifiersSwitchReturns the result of interpreting the object as an instance of 'Volatile'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseVolatilein classModifiersSwitch<Boolean>- Parameters:
element- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Volatile'.
- See Also:
doSwitch(EObject)
-
caseDefault
public Boolean caseDefault(Default element)
Description copied from class:ModifiersSwitchReturns the result of interpreting the object as an instance of 'Default'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseDefaultin classModifiersSwitch<Boolean>- Parameters:
element- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Default'.
- See Also:
doSwitch(EObject)
-
caseAnnotableAndModifiable
public Boolean caseAnnotableAndModifiable(AnnotableAndModifiable element)
Description copied from class:ModifiersSwitchReturns the result of interpreting the object as an instance of 'Annotable And Modifiable'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseAnnotableAndModifiablein classModifiersSwitch<Boolean>- Parameters:
element- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Annotable And Modifiable'.
- See Also:
doSwitch(EObject)
-
-