package Ġpro . bi lo us . codegen . core Ċ Ċ import Ġorg . junit . Ignore Ċ import Ġorg . junit . Test Ċ import Ġorg . open ap it ools . codegen . config . Generator Settings Ċ import Ġkotlin . reflect . K Mutable Property Ċ import Ġkotlin . reflect . full . declared Member Properties Ċ import Ġkotlin . reflect . jvm . is Accessible Ċ Ċ @ Ignore Ċ class ĠCode gen Reflection Test Ġ{ ĊĊ ĉ @ Test Ċ ĉ fun Ġtry Reflection () Ġ{ Ċĉ ĉ val Ġcodegen Ġ= ĠIn Custom Code gen Configurator () Ċĉ ĉ val Ġmembers Ġ= Ġcodegen :: class . members ĊĊĉ ĉ val Ġfield Ġ= ĠIn Custom Code gen Configurator :: class . declared Member Properties . first Ġ{ Ċĉĉ ĉ it . name Ġ== Ġ" generator Settings Builder " Ċĉ ĉ } Ġas ĠK Mutable Property < *> Ċĉ ĉ val Ġtest Name Ġ= Ġ" gen Test Name " Ċĉ ĉ val Ġbuilder Ġ= ĠGenerator Settings . newBuilder (). with Generator Name ( test Name ) Ċĉ ĉ field . is Accessible Ġ= Ġtrue Ċĉ ĉ field . setter . call ( codegen , Ġbuilder ) ĊĊĉ ĉ println (" test ") Ċ ĉ } Ċ } Ċ