test_class.file: pooled-jms/src/test/java/org/messaginghub/pooled/jms/util/JMSMessagePropertySupportTest.java
test_class.identifier: JMSMessagePropertySupportTest
test_case.body: @Test(expected = IllegalArgumentException.class)
      public void testCheckIdentifierLetterAndDigitRequirementsContainsEndWithColon() throws JMSException {
          JMSMessagePropertySupport.checkIdentifierLetterAndDigitRequirements("a:b");
      }
test_case.class_method_signature: JMSMessagePropertySupportTest.testCheckIdentifierLetterAndDigitRequirementsContainsEndWithColon()
test_case.full_signature: @Test(expected = IllegalArgumentException.class) public void testCheckIdentifierLetterAndDigitRequirementsContainsEndWithColon()
test_case.identifier: testCheckIdentifierLetterAndDigitRequirementsContainsEndWithColon
test_case.invocations: checkIdentifierLetterAndDigitRequirements
test_case.modifiers: @Test(expected = IllegalArgumentException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testCheckIdentifierLetterAndDigitRequirementsContainsEndWithColon()
focal_class.file: pooled-jms/src/main/java/org/messaginghub/pooled/jms/util/JMSMessagePropertySupport.java
focal_class.identifier: JMSMessagePropertySupport
focal_class.class_method_signature: JMSMessagePropertySupport.convertPropertyTo(String name, Object value, Class<T> target)
focal_class.full_signature: @SuppressWarnings("unchecked") public static T convertPropertyTo(String name, Object value, Class<T> target)
focal_class.identifier: convertPropertyTo
focal_class.modifiers: @SuppressWarnings("unchecked") public static
focal_class.parameters: (String name, Object value, Class<T> target)
focal_class.return: T
focal_class.signature: T convertPropertyTo(String name, Object value, Class<T> target)
focal_class.class_method_signature: JMSMessagePropertySupport.checkPropertyNameIsValid(String propertyName, boolean validateNames)
focal_class.full_signature: public static void checkPropertyNameIsValid(String propertyName, boolean validateNames)
focal_class.identifier: checkPropertyNameIsValid
focal_class.modifiers: public static
focal_class.parameters: (String propertyName, boolean validateNames)
focal_class.return: void
focal_class.signature: void checkPropertyNameIsValid(String propertyName, boolean validateNames)
focal_class.class_method_signature: JMSMessagePropertySupport.checkIdentifierIsntLogicOperator(String identifier)
focal_class.full_signature: public static void checkIdentifierIsntLogicOperator(String identifier)
focal_class.identifier: checkIdentifierIsntLogicOperator
focal_class.modifiers: public static
focal_class.parameters: (String identifier)
focal_class.return: void
focal_class.signature: void checkIdentifierIsntLogicOperator(String identifier)
focal_class.class_method_signature: JMSMessagePropertySupport.checkIdentifierIsntNullTrueFalse(String identifier)
focal_class.full_signature: public static void checkIdentifierIsntNullTrueFalse(String identifier)
focal_class.identifier: checkIdentifierIsntNullTrueFalse
focal_class.modifiers: public static
focal_class.parameters: (String identifier)
focal_class.return: void
focal_class.signature: void checkIdentifierIsntNullTrueFalse(String identifier)
focal_class.class_method_signature: JMSMessagePropertySupport.checkIdentifierLetterAndDigitRequirements(String identifier)
focal_class.full_signature: public static void checkIdentifierLetterAndDigitRequirements(String identifier)
focal_class.identifier: checkIdentifierLetterAndDigitRequirements
focal_class.modifiers: public static
focal_class.parameters: (String identifier)
focal_class.return: void
focal_class.signature: void checkIdentifierLetterAndDigitRequirements(String identifier)
focal_class.class_method_signature: JMSMessagePropertySupport.checkValidObject(Object value)
focal_class.full_signature: public static void checkValidObject(Object value)
focal_class.identifier: checkValidObject
focal_class.modifiers: public static
focal_class.parameters: (Object value)
focal_class.return: void
focal_class.signature: void checkValidObject(Object value)
focal_method.body: public static void checkIdentifierLetterAndDigitRequirements(String identifier) {
          // An identifier is an unlimited-length sequence of letters and digits, the first of
          // which must be a letter.  A letter is any character for which the method
          // Character.isJavaLetter returns true.  This includes '_' and '$'.  A letter or digit
          // is any character for which the method Character.isJavaLetterOrDigit returns true.
          char startChar = identifier.charAt(0);
          if (!(Character.isJavaIdentifierStart(startChar))) {
              throw new IllegalArgumentException("Identifier does not begin with a valid JMS identifier start character: '" + identifier + "' ");
          }
  
          // JMS part character
          int length = identifier.length();
          for (int i = 1; i < length; i++) {
              char ch = identifier.charAt(i);
              if (!(Character.isJavaIdentifierPart(ch))) {
                  throw new IllegalArgumentException("Identifier contains invalid JMS identifier character '" + ch + "': '" + identifier + "' ");
              }
          }
      }
focal_method.class_method_signature: JMSMessagePropertySupport.checkIdentifierLetterAndDigitRequirements(String identifier)
focal_method.full_signature: public static void checkIdentifierLetterAndDigitRequirements(String identifier)
focal_method.identifier: checkIdentifierLetterAndDigitRequirements
focal_method.invocations: charAt isJavaIdentifierStart length charAt isJavaIdentifierPart
focal_method.modifiers: public static
focal_method.parameters: (String identifier)
focal_method.return: void
focal_method.signature: void checkIdentifierLetterAndDigitRequirements(String identifier)