package Ġme . mo odi 1 9 9 9 . argument _ processor . model Ċ Ċ import Ġme . mo odi 1 9 9 9 . argument _ processor . utils . is Activity Class Ċ import Ġme . mo odi 1 9 9 9 . argument _ processor . utils . is Fragment Class Ċ import Ġjavax . annotation . processing . Processing Environment Ċ import Ġjavax . lang . model . element . Element ĊĊ Ċ sealed Ġclass ĠTarget Type ( val Ġname : ĠString , Ġval Ġarguments Store : ĠString ) Ġ{ ĊĠĠĠ Ġobject ĠActivity Ġ: ĠTarget Type (" Activity "," intent . extras ") ĊĠĠĠ Ġobject ĠFragment Ġ: ĠTarget Type (" Fragment "," arguments ") Ċ } Ċ Ċ fun ĠProcessing Environment . find Target Type ( element : ĠElement ): ĠTarget Type ? Ġ= Ġwhen Ġ{ ĊĠĠĠ Ġis Fragment Class ( element ) Ġ-> ĠTarget Type . Fragment ĊĠĠĠ Ġis Activity Class ( element ) Ġ-> ĠTarget Type . Activity ĊĠĠĠ Ġelse Ġ-> Ġnull Ċ }