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 Boolean
caseAbstract(Abstract element)
Returns the result of interpreting the object as an instance of 'Abstract'.Boolean
caseAnnotableAndModifiable(AnnotableAndModifiable element)
Returns the result of interpreting the object as an instance of 'Annotable And Modifiable'.Boolean
caseDefault(Default element)
Returns the result of interpreting the object as an instance of 'Default'.Boolean
caseFinal(Final element)
Returns the result of interpreting the object as an instance of 'Final'.Boolean
caseNative(Native element)
Returns the result of interpreting the object as an instance of 'Native'.Boolean
casePrivate(Private element)
Returns the result of interpreting the object as an instance of 'Private'.Boolean
caseProtected(Protected element)
Returns the result of interpreting the object as an instance of 'Protected'.Boolean
casePublic(Public element)
Returns the result of interpreting the object as an instance of 'Public'.Boolean
caseStatic(Static element)
Returns the result of interpreting the object as an instance of 'Static'.Boolean
caseStrictfp(Strictfp element)
Returns the result of interpreting the object as an instance of 'Strictfp'.Boolean
caseSynchronized(Synchronized element)
Returns the result of interpreting the object as an instance of 'Synchronized'.Boolean
caseTransient(Transient element)
Returns the result of interpreting the object as an instance of 'Transient'.Boolean
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 Detail
-
caseAbstract
public Boolean caseAbstract(Abstract element)
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:
doSwitch(EObject)
-
caseFinal
public Boolean caseFinal(Final element)
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:
doSwitch(EObject)
-
caseNative
public Boolean caseNative(Native element)
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:
doSwitch(EObject)
-
caseProtected
public Boolean caseProtected(Protected element)
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:
doSwitch(EObject)
-
casePrivate
public Boolean casePrivate(Private element)
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:
doSwitch(EObject)
-
casePublic
public Boolean casePublic(Public element)
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:
doSwitch(EObject)
-
caseStatic
public Boolean caseStatic(Static element)
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:
doSwitch(EObject)
-
caseStrictfp
public Boolean caseStrictfp(Strictfp element)
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:
doSwitch(EObject)
-
caseSynchronized
public Boolean caseSynchronized(Synchronized element)
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:
doSwitch(EObject)
-
caseTransient
public Boolean caseTransient(Transient element)
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:
doSwitch(EObject)
-
caseVolatile
public Boolean caseVolatile(Volatile element)
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:
doSwitch(EObject)
-
caseDefault
public Boolean caseDefault(Default element)
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:
doSwitch(EObject)
-
caseAnnotableAndModifiable
public Boolean caseAnnotableAndModifiable(AnnotableAndModifiable element)
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:
doSwitch(EObject)
-
-