Class ReferencesPrinterSwitch


public class ReferencesPrinterSwitch extends ReferencesSwitch<Boolean>
  • Method Details

    • caseArgumentable

      public Boolean caseArgumentable(Argumentable element)
      Description copied from class: ReferencesSwitch
      Returns the result of interpreting the object as an instance of 'Argumentable'. This implementation returns null; returning a non-null result will terminate the switch.
      Overrides:
      caseArgumentable in class ReferencesSwitch<Boolean>
      Parameters:
      element - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Argumentable'.
      See Also:
    • caseTextBlockReference

      public Boolean caseTextBlockReference(TextBlockReference element)
      Description copied from class: ReferencesSwitch
      Returns the result of interpreting the object as an instance of 'Text Block Reference'. This implementation returns null; returning a non-null result will terminate the switch.
      Overrides:
      caseTextBlockReference in class ReferencesSwitch<Boolean>
      Parameters:
      element - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Text Block Reference'.
      See Also:
    • caseReflectiveClassReference

      public Boolean caseReflectiveClassReference(ReflectiveClassReference element)
      Description copied from class: ReferencesSwitch
      Returns the result of interpreting the object as an instance of 'Reflective Class Reference'. This implementation returns null; returning a non-null result will terminate the switch.
      Overrides:
      caseReflectiveClassReference in class ReferencesSwitch<Boolean>
      Parameters:
      element - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Reflective Class Reference'.
      See Also:
    • casePrimitiveTypeReference

      public Boolean casePrimitiveTypeReference(PrimitiveTypeReference element)
      Description copied from class: ReferencesSwitch
      Returns the result of interpreting the object as an instance of 'Primitive Type Reference'. This implementation returns null; returning a non-null result will terminate the switch.
      Overrides:
      casePrimitiveTypeReference in class ReferencesSwitch<Boolean>
      Parameters:
      element - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Primitive Type Reference'.
      See Also:
    • caseStringReference

      public Boolean caseStringReference(StringReference element)
      Description copied from class: ReferencesSwitch
      Returns the result of interpreting the object as an instance of 'String Reference'. This implementation returns null; returning a non-null result will terminate the switch.
      Overrides:
      caseStringReference in class ReferencesSwitch<Boolean>
      Parameters:
      element - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'String Reference'.
      See Also:
    • caseSelfReference

      public Boolean caseSelfReference(SelfReference element)
      Description copied from class: ReferencesSwitch
      Returns the result of interpreting the object as an instance of 'Self Reference'. This implementation returns null; returning a non-null result will terminate the switch.
      Overrides:
      caseSelfReference in class ReferencesSwitch<Boolean>
      Parameters:
      element - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Self Reference'.
      See Also:
    • caseIdentifierReference

      public Boolean caseIdentifierReference(IdentifierReference element)
      Description copied from class: ReferencesSwitch
      Returns the result of interpreting the object as an instance of 'Identifier Reference'. This implementation returns null; returning a non-null result will terminate the switch.
      Overrides:
      caseIdentifierReference in class ReferencesSwitch<Boolean>
      Parameters:
      element - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Identifier Reference'.
      See Also:
    • caseMethodCall

      public Boolean caseMethodCall(MethodCall element)
      Description copied from class: ReferencesSwitch
      Returns the result of interpreting the object as an instance of 'Method Call'. This implementation returns null; returning a non-null result will terminate the switch.
      Overrides:
      caseMethodCall in class ReferencesSwitch<Boolean>
      Parameters:
      element - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Method Call'.
      See Also:
    • caseReference

      public Boolean caseReference(Reference element)
      Description copied from class: ReferencesSwitch
      Returns the result of interpreting the object as an instance of 'Reference'. This implementation returns null; returning a non-null result will terminate the switch.
      Overrides:
      caseReference in class ReferencesSwitch<Boolean>
      Parameters:
      element - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Reference'.
      See Also: