@ file : Jvm Name (" Static Functions To Stub ") Ċ @ file : Suppress (" UNUSED ") Ċ package Ġnet . cord a . gradle Ċ Ċ import Ġnet . cord a . gradle . jar filter . Stub Me Out Ċ Ċ @ Stub Me Out Ċ fun Ġun wanted StringTo Stub ( value : ĠString ): ĠString Ġ= Ġvalue Ċ Ċ @ Stub Me Out Ċ fun Ġun wanted Int To Stub ( value : ĠInt ): ĠInt Ġ= Ġvalue Ċ Ċ @ Stub Me Out Ċ fun Ġun wanted Long To Stub ( value : ĠLong ): ĠLong Ġ= Ġvalue Ċ Ċ private Ġvar Ġseed : ĠInt Ġ= Ġ 0 Ċ val Ġstatic Seed : ĠInt Ġget () Ġ= Ġseed Ċ Ċ @ Stub Me Out Ċ fun Ġun wanted Void To Stub () Ġ{ ĊĠĠĠ Ġ++ seed Ċ } Ċ Ċ @ Stub Me Out Ċ inline Ġfun Ġ< re ified ĠT Ġ: ĠAny > ĠString . un wanted Inline To Stub ( type : ĠClass < T > Ġ= ĠT :: class . java ): ĠT Ġ{ ĊĠĠĠ Ġreturn Ġtype . getDeclared Constructor ( java Class ). newInstance ("< default - value >") Ġas ĠT Ċ } Ċ