use of org.mybatis.generator.api.GeneratedKotlinFile in project generator by mybatis.
the class IntrospectedTableMyBatis3Impl method getGeneratedKotlinFiles.
@Override
public List<GeneratedKotlinFile> getGeneratedKotlinFiles() {
List<GeneratedKotlinFile> answer = new ArrayList<>();
for (AbstractKotlinGenerator kotlinGenerator : kotlinGenerators) {
List<KotlinFile> kotlinFiles = kotlinGenerator.getKotlinFiles();
for (KotlinFile kotlinFile : kotlinFiles) {
GeneratedKotlinFile gjf = new GeneratedKotlinFile(kotlinFile, kotlinGenerator.getProject(), context.getProperty(PropertyRegistry.CONTEXT_KOTLIN_FILE_ENCODING), context.getKotlinFormatter());
answer.add(gjf);
}
}
return answer;
}
Aggregations