test_class.file: mybatis-plus-generator/src/test/java/com/baomidou/mybatisplus/generator/config/po/TableInfoTest.java
test_class.identifier: TableInfoTest
test_case.body: @Test
      void getFileNameTest() {
          TableInfo tableInfo = new TableInfo();
          Assertions.assertEquals("UserEntity", tableInfo.getFileName("User", "", () -> "UserEntity"));
          Assertions.assertEquals("UserEntity", tableInfo.getFileName("User", null, () -> "UserEntity"));
          Assertions.assertEquals("UserTable", tableInfo.getFileName("User", "%sTable", () -> "UserEntity"));
          Assertions.assertEquals("UserTable", tableInfo.getFileName("User", "UserTable", () -> "UserEntity"));
      }
test_case.class_method_signature: TableInfoTest.getFileNameTest()
test_case.full_signature: @Test void getFileNameTest()
test_case.identifier: getFileNameTest
test_case.invocations: assertEquals getFileName assertEquals getFileName assertEquals getFileName assertEquals getFileName
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void getFileNameTest()
focal_class.declarator: importPackages = new HashSet<>()
focal_class.modifier: private final
focal_class.original_string: private final Set<String> importPackages = new HashSet<>();
focal_class.type: Set<String>
focal_class.var_name: importPackages
focal_class.declarator: convert
focal_class.modifier: private
focal_class.original_string: private boolean convert;
focal_class.type: boolean
focal_class.var_name: convert
focal_class.declarator: name
focal_class.modifier: private
focal_class.original_string: private String name;
focal_class.type: String
focal_class.var_name: name
focal_class.declarator: comment
focal_class.modifier: private
focal_class.original_string: private String comment;
focal_class.type: String
focal_class.var_name: comment
focal_class.declarator: entityName
focal_class.modifier: private
focal_class.original_string: private String entityName;
focal_class.type: String
focal_class.var_name: entityName
focal_class.declarator: mapperName
focal_class.modifier: private
focal_class.original_string: private String mapperName;
focal_class.type: String
focal_class.var_name: mapperName
focal_class.declarator: xmlName
focal_class.modifier: private
focal_class.original_string: private String xmlName;
focal_class.type: String
focal_class.var_name: xmlName
focal_class.declarator: serviceName
focal_class.modifier: private
focal_class.original_string: private String serviceName;
focal_class.type: String
focal_class.var_name: serviceName
focal_class.declarator: serviceImplName
focal_class.modifier: private
focal_class.original_string: private String serviceImplName;
focal_class.type: String
focal_class.var_name: serviceImplName
focal_class.declarator: controllerName
focal_class.modifier: private
focal_class.original_string: private String controllerName;
focal_class.type: String
focal_class.var_name: controllerName
focal_class.declarator: fields = new ArrayList<>()
focal_class.modifier: private final
focal_class.original_string: private final List<TableField> fields = new ArrayList<>();
focal_class.type: List<TableField>
focal_class.var_name: fields
focal_class.declarator: havePrimaryKey
focal_class.modifier: private
focal_class.original_string: private boolean havePrimaryKey;
focal_class.type: boolean
focal_class.var_name: havePrimaryKey
focal_class.declarator: commonFields = new ArrayList<>()
focal_class.modifier: private final
focal_class.original_string: private final List<TableField> commonFields = new ArrayList<>();
focal_class.type: List<TableField>
focal_class.var_name: commonFields
focal_class.declarator: fieldNames
focal_class.modifier: private
focal_class.original_string: private String fieldNames;
focal_class.type: String
focal_class.var_name: fieldNames
focal_class.file: mybatis-plus-generator/src/main/java/com/baomidou/mybatisplus/generator/config/po/TableInfo.java
focal_class.identifier: TableInfo
focal_class.class_method_signature: TableInfo.setConvert(boolean convert)
focal_class.full_signature: @Deprecated public TableInfo setConvert(boolean convert)
focal_class.identifier: setConvert
focal_class.modifiers: @Deprecated public
focal_class.parameters: (boolean convert)
focal_class.return: TableInfo
focal_class.signature: TableInfo setConvert(boolean convert)
focal_class.class_method_signature: TableInfo.setConvert(StrategyConfig strategyConfig)
focal_class.full_signature: protected TableInfo setConvert(StrategyConfig strategyConfig)
focal_class.identifier: setConvert
focal_class.modifiers: protected
focal_class.parameters: (StrategyConfig strategyConfig)
focal_class.return: TableInfo
focal_class.signature: TableInfo setConvert(StrategyConfig strategyConfig)
focal_class.class_method_signature: TableInfo.getEntityPath()
focal_class.full_signature: public String getEntityPath()
focal_class.identifier: getEntityPath
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getEntityPath()
focal_class.class_method_signature: TableInfo.setEntityName(String entityName)
focal_class.full_signature: @Deprecated public TableInfo setEntityName(String entityName)
focal_class.identifier: setEntityName
focal_class.modifiers: @Deprecated public
focal_class.parameters: (String entityName)
focal_class.return: TableInfo
focal_class.signature: TableInfo setEntityName(String entityName)
focal_class.class_method_signature: TableInfo.setEntityName(StrategyConfig strategyConfig, String entityName)
focal_class.full_signature: public TableInfo setEntityName(StrategyConfig strategyConfig, String entityName)
focal_class.identifier: setEntityName
focal_class.modifiers: public
focal_class.parameters: (StrategyConfig strategyConfig, String entityName)
focal_class.return: TableInfo
focal_class.signature: TableInfo setEntityName(StrategyConfig strategyConfig, String entityName)
focal_class.class_method_signature: TableInfo.setFields(List<TableField> fields)
focal_class.full_signature: @Deprecated public TableInfo setFields(List<TableField> fields)
focal_class.identifier: setFields
focal_class.modifiers: @Deprecated public
focal_class.parameters: (List<TableField> fields)
focal_class.return: TableInfo
focal_class.signature: TableInfo setFields(List<TableField> fields)
focal_class.class_method_signature: TableInfo.addFields(List<TableField> fields)
focal_class.full_signature: public TableInfo addFields(List<TableField> fields)
focal_class.identifier: addFields
focal_class.modifiers: public
focal_class.parameters: (List<TableField> fields)
focal_class.return: TableInfo
focal_class.signature: TableInfo addFields(List<TableField> fields)
focal_class.class_method_signature: TableInfo.addFields(TableField... fields)
focal_class.full_signature: public TableInfo addFields(TableField... fields)
focal_class.identifier: addFields
focal_class.modifiers: public
focal_class.parameters: (TableField... fields)
focal_class.return: TableInfo
focal_class.signature: TableInfo addFields(TableField... fields)
focal_class.class_method_signature: TableInfo.setImportPackages(String pkg)
focal_class.full_signature: @Deprecated public TableInfo setImportPackages(String pkg)
focal_class.identifier: setImportPackages
focal_class.modifiers: @Deprecated public
focal_class.parameters: (String pkg)
focal_class.return: TableInfo
focal_class.signature: TableInfo setImportPackages(String pkg)
focal_class.class_method_signature: TableInfo.addImportPackages(String... pkgs)
focal_class.full_signature: public TableInfo addImportPackages(String... pkgs)
focal_class.identifier: addImportPackages
focal_class.modifiers: public
focal_class.parameters: (String... pkgs)
focal_class.return: TableInfo
focal_class.signature: TableInfo addImportPackages(String... pkgs)
focal_class.class_method_signature: TableInfo.isLogicDelete(String logicDeletePropertyName)
focal_class.full_signature: public boolean isLogicDelete(String logicDeletePropertyName)
focal_class.identifier: isLogicDelete
focal_class.modifiers: public
focal_class.parameters: (String logicDeletePropertyName)
focal_class.return: boolean
focal_class.signature: boolean isLogicDelete(String logicDeletePropertyName)
focal_class.class_method_signature: TableInfo.setFieldNames(String fieldNames)
focal_class.full_signature: @Deprecated public TableInfo setFieldNames(String fieldNames)
focal_class.identifier: setFieldNames
focal_class.modifiers: @Deprecated public
focal_class.parameters: (String fieldNames)
focal_class.return: TableInfo
focal_class.signature: TableInfo setFieldNames(String fieldNames)
focal_class.class_method_signature: TableInfo.getFieldNames()
focal_class.full_signature: public String getFieldNames()
focal_class.identifier: getFieldNames
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getFieldNames()
focal_class.class_method_signature: TableInfo.setCommonFields(List<TableField> commonFields)
focal_class.full_signature: @Deprecated public TableInfo setCommonFields(List<TableField> commonFields)
focal_class.identifier: setCommonFields
focal_class.modifiers: @Deprecated public
focal_class.parameters: (List<TableField> commonFields)
focal_class.return: TableInfo
focal_class.signature: TableInfo setCommonFields(List<TableField> commonFields)
focal_class.class_method_signature: TableInfo.addCommonFields(TableField... commonFields)
focal_class.full_signature: public TableInfo addCommonFields(TableField... commonFields)
focal_class.identifier: addCommonFields
focal_class.modifiers: public
focal_class.parameters: (TableField... commonFields)
focal_class.return: TableInfo
focal_class.signature: TableInfo addCommonFields(TableField... commonFields)
focal_class.class_method_signature: TableInfo.addCommonFields(List<TableField> commonFields)
focal_class.full_signature: public TableInfo addCommonFields(List<TableField> commonFields)
focal_class.identifier: addCommonFields
focal_class.modifiers: public
focal_class.parameters: (List<TableField> commonFields)
focal_class.return: TableInfo
focal_class.signature: TableInfo addCommonFields(List<TableField> commonFields)
focal_class.class_method_signature: TableInfo.importPackage(StrategyConfig strategyConfig, GlobalConfig globalConfig)
focal_class.full_signature: public void importPackage(StrategyConfig strategyConfig, GlobalConfig globalConfig)
focal_class.identifier: importPackage
focal_class.modifiers: public
focal_class.parameters: (StrategyConfig strategyConfig, GlobalConfig globalConfig)
focal_class.return: void
focal_class.signature: void importPackage(StrategyConfig strategyConfig, GlobalConfig globalConfig)
focal_class.class_method_signature: TableInfo.processTable(StrategyConfig strategyConfig, GlobalConfig globalConfig)
focal_class.full_signature: public void processTable(StrategyConfig strategyConfig, GlobalConfig globalConfig)
focal_class.identifier: processTable
focal_class.modifiers: public
focal_class.parameters: (StrategyConfig strategyConfig, GlobalConfig globalConfig)
focal_class.return: void
focal_class.signature: void processTable(StrategyConfig strategyConfig, GlobalConfig globalConfig)
focal_class.class_method_signature: TableInfo.getFileName(String entityName, String value, Supplier<String> defaultValue)
focal_class.full_signature: public String getFileName(String entityName, String value, Supplier<String> defaultValue)
focal_class.identifier: getFileName
focal_class.modifiers: public
focal_class.parameters: (String entityName, String value, Supplier<String> defaultValue)
focal_class.return: String
focal_class.signature: String getFileName(String entityName, String value, Supplier<String> defaultValue)
focal_method.body: public String getFileName(String entityName, String value, Supplier<String> defaultValue) {
          return StringUtils.isNotBlank(value) ? String.format(value, entityName) : defaultValue.get();
      }
focal_method.class_method_signature: TableInfo.getFileName(String entityName, String value, Supplier<String> defaultValue)
focal_method.full_signature: public String getFileName(String entityName, String value, Supplier<String> defaultValue)
focal_method.identifier: getFileName
focal_method.invocations: isNotBlank format get
focal_method.modifiers: public
focal_method.parameters: (String entityName, String value, Supplier<String> defaultValue)
focal_method.return: String
focal_method.signature: String getFileName(String entityName, String value, Supplier<String> defaultValue)