test_class.file: mybatis-plus-generator/src/test/java/com/baomidou/mybatisplus/generator/config/PackageConfigTest.java
test_class.identifier: PackageConfigTest
test_case.body: @Test
      void joinPackageTest() {
          Assertions.assertEquals("com.baomidou.demo", new PackageConfig().joinPackage("demo"));
          Assertions.assertEquals("com.baomidou.mp.demo", new PackageConfig().setModuleName("mp").joinPackage("demo"));
          Assertions.assertEquals("com.baomihua.demo", new PackageConfig().setParent("com.baomihua").joinPackage("demo"));
          Assertions.assertEquals("com.baomihua.mp.demo", new PackageConfig().setParent("com.baomihua").setModuleName("mp").joinPackage("demo"));
      }
test_case.class_method_signature: PackageConfigTest.joinPackageTest()
test_case.full_signature: @Test void joinPackageTest()
test_case.identifier: joinPackageTest
test_case.invocations: assertEquals joinPackage assertEquals joinPackage setModuleName assertEquals joinPackage setParent assertEquals joinPackage setModuleName setParent
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void joinPackageTest()
focal_class.declarator: parent = "com.baomidou"
focal_class.modifier: private
focal_class.original_string: private String parent = "com.baomidou";
focal_class.type: String
focal_class.var_name: parent
focal_class.declarator: moduleName = ""
focal_class.modifier: private
focal_class.original_string: private String moduleName = "";
focal_class.type: String
focal_class.var_name: moduleName
focal_class.declarator: entity = "entity"
focal_class.modifier: private
focal_class.original_string: private String entity = "entity";
focal_class.type: String
focal_class.var_name: entity
focal_class.declarator: service = "service"
focal_class.modifier: private
focal_class.original_string: private String service = "service";
focal_class.type: String
focal_class.var_name: service
focal_class.declarator: serviceImpl = "service.impl"
focal_class.modifier: private
focal_class.original_string: private String serviceImpl = "service.impl";
focal_class.type: String
focal_class.var_name: serviceImpl
focal_class.declarator: mapper = "mapper"
focal_class.modifier: private
focal_class.original_string: private String mapper = "mapper";
focal_class.type: String
focal_class.var_name: mapper
focal_class.declarator: xml = "mapper.xml"
focal_class.modifier: private
focal_class.original_string: private String xml = "mapper.xml";
focal_class.type: String
focal_class.var_name: xml
focal_class.declarator: controller = "controller"
focal_class.modifier: private
focal_class.original_string: private String controller = "controller";
focal_class.type: String
focal_class.var_name: controller
focal_class.declarator: pathInfo
focal_class.modifier: private
focal_class.original_string: private Map<String, String> pathInfo;
focal_class.type: Map<String, String>
focal_class.var_name: pathInfo
focal_class.declarator: packageInfo = new HashMap<>()
focal_class.modifier: private final
focal_class.original_string: private final Map<String, String> packageInfo = new HashMap<>();
focal_class.type: Map<String, String>
focal_class.var_name: packageInfo
focal_class.file: mybatis-plus-generator/src/main/java/com/baomidou/mybatisplus/generator/config/PackageConfig.java
focal_class.identifier: PackageConfig
focal_class.class_method_signature: PackageConfig.getParent()
focal_class.full_signature: public String getParent()
focal_class.identifier: getParent
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getParent()
focal_class.class_method_signature: PackageConfig.joinPackage(String subPackage)
focal_class.full_signature: public String joinPackage(String subPackage)
focal_class.identifier: joinPackage
focal_class.modifiers: public
focal_class.parameters: (String subPackage)
focal_class.return: String
focal_class.signature: String joinPackage(String subPackage)
focal_class.class_method_signature: PackageConfig.getPackageInfo()
focal_class.full_signature: public Map<String, String> getPackageInfo()
focal_class.identifier: getPackageInfo
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> getPackageInfo()
focal_method.body: public String joinPackage(String subPackage) {
          String parent = getParent();
          return StringUtils.isBlank(parent) ? subPackage : (parent + StringPool.DOT + subPackage);
      }
focal_method.class_method_signature: PackageConfig.joinPackage(String subPackage)
focal_method.full_signature: public String joinPackage(String subPackage)
focal_method.identifier: joinPackage
focal_method.invocations: getParent isBlank
focal_method.modifiers: public
focal_method.parameters: (String subPackage)
focal_method.return: String
focal_method.signature: String joinPackage(String subPackage)