test_class.file: services/connectivity/messaging/src/test/java/org/eclipse/ditto/services/connectivity/messaging/amqp/AmqpTargetTest.java
test_class.identifier: AmqpTargetTest
test_case.body: @Test(expected = IllegalArgumentException.class)
      public void testEmpty() {
          AmqpTarget.fromTargetAddress("");
      }
test_case.class_method_signature: AmqpTargetTest.testEmpty()
test_case.full_signature: @Test(expected = IllegalArgumentException.class) public void testEmpty()
test_case.identifier: testEmpty
test_case.invocations: fromTargetAddress
test_case.modifiers: @Test(expected = IllegalArgumentException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testEmpty()
focal_class.declarator: TOPIC_PREFIX = "topic://"
focal_class.modifier: private static final
focal_class.original_string: private static final String TOPIC_PREFIX = "topic://";
focal_class.type: String
focal_class.var_name: TOPIC_PREFIX
focal_class.declarator: QUEUE_PREFIX = "queue://"
focal_class.modifier: private static final
focal_class.original_string: private static final String QUEUE_PREFIX = "queue://";
focal_class.type: String
focal_class.var_name: QUEUE_PREFIX
focal_class.declarator: EMPTY_STRING = ""
focal_class.modifier: private static final
focal_class.original_string: private static final String EMPTY_STRING = "";
focal_class.type: String
focal_class.var_name: EMPTY_STRING
focal_class.declarator: jmsDestination
focal_class.modifier: private final
focal_class.original_string: private final Destination jmsDestination;
focal_class.type: Destination
focal_class.var_name: jmsDestination
focal_class.file: services/connectivity/messaging/src/main/java/org/eclipse/ditto/services/connectivity/messaging/amqp/AmqpTarget.java
focal_class.identifier: AmqpTarget
focal_class.interfaces: implements PublishTarget
focal_class.class_method_signature: AmqpTarget.AmqpTarget(final Destination jmsDestination)
focal_class.full_signature: private  AmqpTarget(final Destination jmsDestination)
focal_class.identifier: AmqpTarget
focal_class.modifiers: private
focal_class.parameters: (final Destination jmsDestination)
focal_class.signature:  AmqpTarget(final Destination jmsDestination)
focal_class.class_method_signature: AmqpTarget.fromTargetAddress(final String targetAddress)
focal_class.full_signature: static AmqpTarget fromTargetAddress(final String targetAddress)
focal_class.identifier: fromTargetAddress
focal_class.modifiers: static
focal_class.parameters: (final String targetAddress)
focal_class.return: AmqpTarget
focal_class.signature: AmqpTarget fromTargetAddress(final String targetAddress)
focal_class.class_method_signature: AmqpTarget.getJmsDestination()
focal_class.full_signature:  Destination getJmsDestination()
focal_class.identifier: getJmsDestination
focal_class.parameters: ()
focal_class.return: Destination
focal_class.signature: Destination getJmsDestination()
focal_class.class_method_signature: AmqpTarget.equals(final Object o)
focal_class.full_signature: @Override public boolean equals(final Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (final Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(final Object o)
focal_class.class_method_signature: AmqpTarget.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: AmqpTarget.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: static AmqpTarget fromTargetAddress(final String targetAddress) {
          ConditionChecker.argumentNotEmpty(targetAddress, "targetAddress");
          final Destination destination;
          if (targetAddress.startsWith(TOPIC_PREFIX)) {
              destination = new JmsTopic(targetAddress.replace(TOPIC_PREFIX, EMPTY_STRING));
          } else if (targetAddress.startsWith(QUEUE_PREFIX)) {
              destination = new JmsQueue(targetAddress.replace(QUEUE_PREFIX, EMPTY_STRING));
          } else {
              destination = new JmsQueue(targetAddress);
          }
          return new AmqpTarget(destination);
      }
focal_method.class_method_signature: AmqpTarget.fromTargetAddress(final String targetAddress)
focal_method.full_signature: static AmqpTarget fromTargetAddress(final String targetAddress)
focal_method.identifier: fromTargetAddress
focal_method.invocations: argumentNotEmpty startsWith replace startsWith replace
focal_method.modifiers: static
focal_method.parameters: (final String targetAddress)
focal_method.return: AmqpTarget
focal_method.signature: AmqpTarget fromTargetAddress(final String targetAddress)