initializer-generator/src/main/java/org/apache/dubbo/initializer/generation/extension/codes/sample/ProtoBufCodeContributor.java [208:219]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    protected Path reslovePackagePath(Path sourceRoot, String content) {
        Path path = sourceRoot;
        Matcher matcher = Pattern.compile(PACKAGE_PATTEN).matcher(content);
        if (matcher.find()) {
            String pkg = matcher.group(1);
            for (String s : pkg.split("\\.")) {
                path = path.resolve(s);
            }
        }

        return path;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



initializer-generator/src/main/java/com/alibaba/initializer/generation/extension/SampleCodeContributor.java [280:291]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    protected Path reslovePackagePath(Path sourceRoot, String content) {
        Path path = sourceRoot;
        Matcher matcher = Pattern.compile(PACKAGE_PATTEN).matcher(content);
        if (matcher.find()) {
            String pkg = matcher.group(1);
            for (String s : pkg.split("\\.")) {
                path = path.resolve(s);
            }
        }

        return path;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



