<BUG>private String createJavaSourceFile(VirtualFile outputRootDirectory, GroovyFileBase file, String typeDefinitionName, GrTypeDefinition typeDefinition, GrPackageDefinition packageDefinition) {</BUG><CONTEXT>String prefix = packageDefinition.getPackageName();prefix = prefix.replace(".", PREFIX_SEPARATOR);prefix += PREFIX_SEPARATOR;return prefix;}<extra_id_0>String prefix = "";if (packageDefinition != null) {prefix = getJavaClassPackage(packageDefinition);</CONTEXT>
private String createJavaSourceFile(VirtualFile outputRootDirectory, GroovyFileBase file, String typeDefinitionName, PsiClass groovyClass, GrPackageDefinition packageDefinition) {