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
-
Field Summary
Fields inherited from class org.emftext.language.java.modifiers.util.ModifiersSwitch
modelPackage
-
Method Summary
Modifier and TypeMethodDescriptioncaseAbstract
(Abstract element) Returns the result of interpreting the object as an instance of 'Abstract'.Returns the result of interpreting the object as an instance of 'Annotable And Modifiable'.caseDefault
(Default element) Returns the result of interpreting the object as an instance of 'Default'.Returns the result of interpreting the object as an instance of 'Final'.caseNative
(Native element) Returns the result of interpreting the object as an instance of 'Native'.casePrivate
(Private element) Returns the result of interpreting the object as an instance of 'Private'.caseProtected
(Protected element) Returns the result of interpreting the object as an instance of 'Protected'.casePublic
(Public element) Returns the result of interpreting the object as an instance of 'Public'.caseStatic
(Static element) Returns the result of interpreting the object as an instance of 'Static'.caseStrictfp
(Strictfp element) Returns the result of interpreting the object as an instance of 'Strictfp'.caseSynchronized
(Synchronized element) Returns the result of interpreting the object as an instance of 'Synchronized'.caseTransient
(Transient element) Returns the result of interpreting the object as an instance of 'Transient'.caseVolatile
(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 Details
-
caseAbstract
Description copied from class:ModifiersSwitch
Returns 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:
caseAbstract
in classModifiersSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Abstract'.
- See Also:
-
caseFinal
Description copied from class:ModifiersSwitch
Returns 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:
caseFinal
in classModifiersSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Final'.
- See Also:
-
caseNative
Description copied from class:ModifiersSwitch
Returns 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:
caseNative
in classModifiersSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Native'.
- See Also:
-
caseProtected
Description copied from class:ModifiersSwitch
Returns 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:
caseProtected
in classModifiersSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Protected'.
- See Also:
-
casePrivate
Description copied from class:ModifiersSwitch
Returns 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:
casePrivate
in classModifiersSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Private'.
- See Also:
-
casePublic
Description copied from class:ModifiersSwitch
Returns 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:
casePublic
in classModifiersSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Public'.
- See Also:
-
caseStatic
Description copied from class:ModifiersSwitch
Returns 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:
caseStatic
in classModifiersSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Static'.
- See Also:
-
caseStrictfp
Description copied from class:ModifiersSwitch
Returns 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:
caseStrictfp
in classModifiersSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Strictfp'.
- See Also:
-
caseSynchronized
Description copied from class:ModifiersSwitch
Returns 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:
caseSynchronized
in classModifiersSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Synchronized'.
- See Also:
-
caseTransient
Description copied from class:ModifiersSwitch
Returns 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:
caseTransient
in classModifiersSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Transient'.
- See Also:
-
caseVolatile
Description copied from class:ModifiersSwitch
Returns 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:
caseVolatile
in classModifiersSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Volatile'.
- See Also:
-
caseDefault
Description copied from class:ModifiersSwitch
Returns 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:
caseDefault
in classModifiersSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Default'.
- See Also:
-
caseAnnotableAndModifiable
Description copied from class:ModifiersSwitch
Returns 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:
caseAnnotableAndModifiable
in 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:
-