Class ModifiersPrinterSwitch


public class ModifiersPrinterSwitch extends ModifiersSwitch<Boolean>
  • Method Details

    • 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 class ModifiersSwitch<Boolean>
      Parameters:
      element - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Abstract'.
      See Also:
    • 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 class ModifiersSwitch<Boolean>
      Parameters:
      element - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Final'.
      See Also:
    • 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 class ModifiersSwitch<Boolean>
      Parameters:
      element - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Native'.
      See Also:
    • 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 class ModifiersSwitch<Boolean>
      Parameters:
      element - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Protected'.
      See Also:
    • 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 class ModifiersSwitch<Boolean>
      Parameters:
      element - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Private'.
      See Also:
    • 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 class ModifiersSwitch<Boolean>
      Parameters:
      element - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Public'.
      See Also:
    • 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 class ModifiersSwitch<Boolean>
      Parameters:
      element - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Static'.
      See Also:
    • 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 class ModifiersSwitch<Boolean>
      Parameters:
      element - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Strictfp'.
      See Also:
    • 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 class ModifiersSwitch<Boolean>
      Parameters:
      element - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Synchronized'.
      See Also:
    • 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 class ModifiersSwitch<Boolean>
      Parameters:
      element - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Transient'.
      See Also:
    • 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 class ModifiersSwitch<Boolean>
      Parameters:
      element - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Volatile'.
      See Also:
    • 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 class ModifiersSwitch<Boolean>
      Parameters:
      element - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Default'.
      See Also:
    • 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 class ModifiersSwitch<Boolean>
      Parameters:
      element - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Annotable And Modifiable'.
      See Also: