test_class.file: dubbo-common/src/test/java/com/alibaba/dubbo/common/utils/ConfigUtilsTest.java
test_class.identifier: ConfigUtilsTest
test_case.body: @Test
      public void testLoadPropertiesNoFile() throws Exception {
          Properties p = ConfigUtils.loadProperties("notExisted", true);
          Properties expected = new Properties();
          assertEquals(expected, p);
  
          p = ConfigUtils.loadProperties("notExisted", false);
          assertEquals(expected, p);
      }
test_case.class_method_signature: ConfigUtilsTest.testLoadPropertiesNoFile()
test_case.full_signature: @Test public void testLoadPropertiesNoFile()
test_case.identifier: testLoadPropertiesNoFile
test_case.invocations: loadProperties assertEquals loadProperties assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testLoadPropertiesNoFile()
focal_class.declarator: logger = LoggerFactory.getLogger(ConfigUtils.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger logger = LoggerFactory.getLogger(ConfigUtils.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: VARIABLE_PATTERN = Pattern.compile(
              "\\$\\s*\\{?\\s*([\\._0-9a-zA-Z]+)\\s*\\}?")
focal_class.modifier: private static
focal_class.original_string: private static Pattern VARIABLE_PATTERN = Pattern.compile(
              "\\$\\s*\\{?\\s*([\\._0-9a-zA-Z]+)\\s*\\}?");
focal_class.type: Pattern
focal_class.var_name: VARIABLE_PATTERN
focal_class.declarator: PROPERTIES
focal_class.modifier: private static volatile
focal_class.original_string: private static volatile Properties PROPERTIES;
focal_class.type: Properties
focal_class.var_name: PROPERTIES
focal_class.declarator: PID = -1
focal_class.modifier: private static
focal_class.original_string: private static int PID = -1;
focal_class.type: int
focal_class.var_name: PID
focal_class.file: dubbo-common/src/main/java/com/alibaba/dubbo/common/utils/ConfigUtils.java
focal_class.identifier: ConfigUtils
focal_class.class_method_signature: ConfigUtils.ConfigUtils()
focal_class.full_signature: private  ConfigUtils()
focal_class.identifier: ConfigUtils
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  ConfigUtils()
focal_class.class_method_signature: ConfigUtils.isNotEmpty(String value)
focal_class.full_signature: public static boolean isNotEmpty(String value)
focal_class.identifier: isNotEmpty
focal_class.modifiers: public static
focal_class.parameters: (String value)
focal_class.return: boolean
focal_class.signature: boolean isNotEmpty(String value)
focal_class.class_method_signature: ConfigUtils.isEmpty(String value)
focal_class.full_signature: public static boolean isEmpty(String value)
focal_class.identifier: isEmpty
focal_class.modifiers: public static
focal_class.parameters: (String value)
focal_class.return: boolean
focal_class.signature: boolean isEmpty(String value)
focal_class.class_method_signature: ConfigUtils.isDefault(String value)
focal_class.full_signature: public static boolean isDefault(String value)
focal_class.identifier: isDefault
focal_class.modifiers: public static
focal_class.parameters: (String value)
focal_class.return: boolean
focal_class.signature: boolean isDefault(String value)
focal_class.class_method_signature: ConfigUtils.mergeValues(Class<?> type, String cfg, List<String> def)
focal_class.full_signature: public static List<String> mergeValues(Class<?> type, String cfg, List<String> def)
focal_class.identifier: mergeValues
focal_class.modifiers: public static
focal_class.parameters: (Class<?> type, String cfg, List<String> def)
focal_class.return: List<String>
focal_class.signature: List<String> mergeValues(Class<?> type, String cfg, List<String> def)
focal_class.class_method_signature: ConfigUtils.replaceProperty(String expression, Map<String, String> params)
focal_class.full_signature: public static String replaceProperty(String expression, Map<String, String> params)
focal_class.identifier: replaceProperty
focal_class.modifiers: public static
focal_class.parameters: (String expression, Map<String, String> params)
focal_class.return: String
focal_class.signature: String replaceProperty(String expression, Map<String, String> params)
focal_class.class_method_signature: ConfigUtils.getProperties()
focal_class.full_signature: public static Properties getProperties()
focal_class.identifier: getProperties
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Properties
focal_class.signature: Properties getProperties()
focal_class.class_method_signature: ConfigUtils.setProperties(Properties properties)
focal_class.full_signature: public static void setProperties(Properties properties)
focal_class.identifier: setProperties
focal_class.modifiers: public static
focal_class.parameters: (Properties properties)
focal_class.return: void
focal_class.signature: void setProperties(Properties properties)
focal_class.class_method_signature: ConfigUtils.addProperties(Properties properties)
focal_class.full_signature: public static void addProperties(Properties properties)
focal_class.identifier: addProperties
focal_class.modifiers: public static
focal_class.parameters: (Properties properties)
focal_class.return: void
focal_class.signature: void addProperties(Properties properties)
focal_class.class_method_signature: ConfigUtils.getProperty(String key)
focal_class.full_signature: public static String getProperty(String key)
focal_class.identifier: getProperty
focal_class.modifiers: public static
focal_class.parameters: (String key)
focal_class.return: String
focal_class.signature: String getProperty(String key)
focal_class.class_method_signature: ConfigUtils.getProperty(String key, String defaultValue)
focal_class.full_signature: @SuppressWarnings({"unchecked", "rawtypes"}) public static String getProperty(String key, String defaultValue)
focal_class.identifier: getProperty
focal_class.modifiers: @SuppressWarnings({"unchecked", "rawtypes"}) public static
focal_class.parameters: (String key, String defaultValue)
focal_class.return: String
focal_class.signature: String getProperty(String key, String defaultValue)
focal_class.class_method_signature: ConfigUtils.getSystemProperty(String key)
focal_class.full_signature: public static String getSystemProperty(String key)
focal_class.identifier: getSystemProperty
focal_class.modifiers: public static
focal_class.parameters: (String key)
focal_class.return: String
focal_class.signature: String getSystemProperty(String key)
focal_class.class_method_signature: ConfigUtils.loadProperties(String fileName)
focal_class.full_signature: public static Properties loadProperties(String fileName)
focal_class.identifier: loadProperties
focal_class.modifiers: public static
focal_class.parameters: (String fileName)
focal_class.return: Properties
focal_class.signature: Properties loadProperties(String fileName)
focal_class.class_method_signature: ConfigUtils.loadProperties(String fileName, boolean allowMultiFile)
focal_class.full_signature: public static Properties loadProperties(String fileName, boolean allowMultiFile)
focal_class.identifier: loadProperties
focal_class.modifiers: public static
focal_class.parameters: (String fileName, boolean allowMultiFile)
focal_class.return: Properties
focal_class.signature: Properties loadProperties(String fileName, boolean allowMultiFile)
focal_class.class_method_signature: ConfigUtils.loadProperties(String fileName, boolean allowMultiFile, boolean optional)
focal_class.full_signature: public static Properties loadProperties(String fileName, boolean allowMultiFile, boolean optional)
focal_class.identifier: loadProperties
focal_class.modifiers: public static
focal_class.parameters: (String fileName, boolean allowMultiFile, boolean optional)
focal_class.return: Properties
focal_class.signature: Properties loadProperties(String fileName, boolean allowMultiFile, boolean optional)
focal_class.class_method_signature: ConfigUtils.checkFileNameExist(String fileName)
focal_class.full_signature: private static boolean checkFileNameExist(String fileName)
focal_class.identifier: checkFileNameExist
focal_class.modifiers: private static
focal_class.parameters: (String fileName)
focal_class.return: boolean
focal_class.signature: boolean checkFileNameExist(String fileName)
focal_class.class_method_signature: ConfigUtils.getPid()
focal_class.full_signature: public static int getPid()
focal_class.identifier: getPid
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getPid()
focal_class.class_method_signature: ConfigUtils.getServerShutdownTimeout()
focal_class.full_signature: @SuppressWarnings("deprecation") public static int getServerShutdownTimeout()
focal_class.identifier: getServerShutdownTimeout
focal_class.modifiers: @SuppressWarnings("deprecation") public static
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getServerShutdownTimeout()
focal_method.body: public static Properties loadProperties(String fileName) {
          return loadProperties(fileName, false, false);
      }
focal_method.class_method_signature: ConfigUtils.loadProperties(String fileName)
focal_method.full_signature: public static Properties loadProperties(String fileName)
focal_method.identifier: loadProperties
focal_method.invocations: loadProperties
focal_method.modifiers: public static
focal_method.parameters: (String fileName)
focal_method.return: Properties
focal_method.signature: Properties loadProperties(String fileName)