use of com.mysema.codegen.model.Constructor in project querydsl by querydsl.
the class TypeElementHandler method handleConstructors.
private void handleConstructors(EntityType entityType, List<? extends Element> elements) {
for (ExecutableElement constructor : ElementFilter.constructorsIn(elements)) {
if (configuration.isValidConstructor(constructor)) {
List<Parameter> parameters = transformParams(constructor.getParameters());
entityType.addConstructor(new Constructor(parameters));
}
}
}
Aggregations