test_class.file: common/src/test/java/org/apache/cxf/dosgi/common/util/PropertyHelperTest.java
test_class.identifier: PropertyHelperTest
test_case.body: @Test
      public void testGetProperty() {
          Map<String, Object> p = new HashMap<>();
          p.put(RemoteConstants.ENDPOINT_ID, "http://google.de");
          p.put("notAString", new Object());
          p.put(org.osgi.framework.Constants.OBJECTCLASS, new String[]{"my.class"});
          p.put(RemoteConstants.SERVICE_IMPORTED_CONFIGS, new String[]{"my.config"});
  
          EndpointDescription endpoint = new EndpointDescription(p);
  
          assertNull(PropertyHelper.getProperty(endpoint.getProperties(), "unknownProp"));
          assertEquals(p.get(RemoteConstants.ENDPOINT_ID),
                       PropertyHelper.getProperty(endpoint.getProperties(), RemoteConstants.ENDPOINT_ID));
          assertNull(PropertyHelper.getProperty(endpoint.getProperties(), "notAString"));
      }
test_case.class_method_signature: PropertyHelperTest.testGetProperty()
test_case.full_signature: @Test public void testGetProperty()
test_case.identifier: testGetProperty
test_case.invocations: put put put put assertNull getProperty getProperties assertEquals get getProperty getProperties assertNull getProperty getProperties
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetProperty()
focal_class.declarator: LOG = LoggerFactory.getLogger(PropertyHelper.class)
focal_class.modifier: public static final
focal_class.original_string: public static final Logger LOG = LoggerFactory.getLogger(PropertyHelper.class);
focal_class.type: Logger
focal_class.var_name: LOG
focal_class.file: common/src/main/java/org/apache/cxf/dosgi/common/util/PropertyHelper.java
focal_class.identifier: PropertyHelper
focal_class.class_method_signature: PropertyHelper.PropertyHelper()
focal_class.full_signature: private  PropertyHelper()
focal_class.identifier: PropertyHelper
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  PropertyHelper()
focal_class.class_method_signature: PropertyHelper.getMultiValueProperty(Object property)
focal_class.full_signature: @SuppressWarnings("unchecked") public static Collection<String> getMultiValueProperty(Object property)
focal_class.identifier: getMultiValueProperty
focal_class.modifiers: @SuppressWarnings("unchecked") public static
focal_class.parameters: (Object property)
focal_class.return: Collection<String>
focal_class.signature: Collection<String> getMultiValueProperty(Object property)
focal_class.class_method_signature: PropertyHelper.getProperty(Map<String, Object> dict, String name)
focal_class.full_signature: public static String getProperty(Map<String, Object> dict, String name)
focal_class.identifier: getProperty
focal_class.modifiers: public static
focal_class.parameters: (Map<String, Object> dict, String name)
focal_class.return: String
focal_class.signature: String getProperty(Map<String, Object> dict, String name)
focal_class.class_method_signature: PropertyHelper.getFirstNonEmptyStringProperty(Map<String, Object> dict, String... keys)
focal_class.full_signature: public static String getFirstNonEmptyStringProperty(Map<String, Object> dict, String... keys)
focal_class.identifier: getFirstNonEmptyStringProperty
focal_class.modifiers: public static
focal_class.parameters: (Map<String, Object> dict, String... keys)
focal_class.return: String
focal_class.signature: String getFirstNonEmptyStringProperty(Map<String, Object> dict, String... keys)
focal_method.body: public static String getProperty(Map<String, Object> dict, String name) {
          Object value = dict.get(name);
          return value instanceof String ? (String) value : null;
      }
focal_method.class_method_signature: PropertyHelper.getProperty(Map<String, Object> dict, String name)
focal_method.full_signature: public static String getProperty(Map<String, Object> dict, String name)
focal_method.identifier: getProperty
focal_method.invocations: get
focal_method.modifiers: public static
focal_method.parameters: (Map<String, Object> dict, String name)
focal_method.return: String
focal_method.signature: String getProperty(Map<String, Object> dict, String name)