test_class.file: pooled-jms/src/test/java/org/messaginghub/pooled/jms/util/JMSMessagePropertySupportTest.java
test_class.identifier: JMSMessagePropertySupportTest
test_case.body: @Test
      public void testCheckValidObjectString() throws JMSException {
          JMSMessagePropertySupport.checkValidObject("");
      }
test_case.class_method_signature: JMSMessagePropertySupportTest.testCheckValidObjectString()
test_case.full_signature: @Test public void testCheckValidObjectString()
test_case.identifier: testCheckValidObjectString
test_case.invocations: checkValidObject
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testCheckValidObjectString()
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 checkValidObject(Object value) throws MessageFormatException {
          boolean valid = value instanceof Boolean ||
                          value instanceof Byte ||
                          value instanceof Short ||
                          value instanceof Integer ||
                          value instanceof Long ||
                          value instanceof Float ||
                          value instanceof Double ||
                          value instanceof Character ||
                          value instanceof String ||
                          value == null;
  
          if (!valid) {
              throw new MessageFormatException("Only objectified primitive objects and String types are allowed but was: " + value + " type: " + value.getClass());
          }
      }
focal_method.class_method_signature: JMSMessagePropertySupport.checkValidObject(Object value)
focal_method.full_signature: public static void checkValidObject(Object value)
focal_method.identifier: checkValidObject
focal_method.invocations: getClass
focal_method.modifiers: public static
focal_method.parameters: (Object value)
focal_method.return: void
focal_method.signature: void checkValidObject(Object value)