klum-dsl / klum-ast

Turn your models into super models
https://github.com/klum-dsl/klum-ast/wiki
MIT License
3 stars 0 forks source link

Owner converters #189

Open pauxus opened 5 years ago

pauxus commented 5 years ago

Might be interesting to allow Owner methods to be created due to a closure in the annotation:

String name

@Owner
void setComponentName(Component component) {
  name = component.name
}

could be reduced to:

@Owner({ Component component -> component.name  })
String name
pauxus commented 1 year ago

After implementation of Owner Phases (#284 )