@ file : Suppress (" Matching Declaration Name ") Ċ Ċ package Ġcom . live front . sealed enum . compilation . visibility Ċ Ċ import Ġcom . live front . sealed enum . Gen Se aled Enum Ċ import Ġorg . intellij . lang . annotations . Language Ċ Ċ open Ġclass ĠProtected Interface OuterClass Ġ{ ĊĊĠĠĠ Ġprotected Ġinterface ĠProtected Interface ĊĊĠĠĠ Ġsealed Ġclass ĠProtected Interface Se aled Class Ġ: ĊĠĠĠĠĠĠĠ Ġcom . live front . sealed enum . compilation . visibility . Java Protected Interface Subclass (), ĠProtected Interface Ġ{ ĊĊĠĠĠĠĠĠĠ Ġobject ĠFirst Object Ġ: ĠProtected Interface Se aled Class () ĊĊĠĠĠĠĠĠĠ Ġobject ĠSecond Object Ġ: ĠProtected Interface Se aled Class () ĊĊĠĠĠĠĠĠĠ Ġ@ Gen Se aled Enum ( generate Enum Ġ= Ġtrue ) ĊĠĠĠĠĠĠĠ Ġcompanion Ġobject ĊĠĠĠ Ġ} Ċ } Ċ Ċ @ Language (" kotlin ") Ċ val Ġprotected Interface Se aled Class Generated Ġ= Ġ""" Ċ package Ġcom . live front . sealed enum . compilation . visibility Ċ Ċ import Ġcom . live front . sealed enum . Enum For Se aled Enum Provider Ċ import Ġcom . live front . sealed enum . Se aled Enum Ċ import Ġcom . live front . sealed enum . Se aled Enum With Enum Provider Ċ import Ġjava . lang . Class Ċ import Ġkotlin . Int Ċ import Ġkotlin . String Ċ import Ġkotlin . collections . List Ċ Ċ /** Ċ Ġ* ĠAn Ġis omorphic Ġenum Ġfor Ġthe Ġsealed Ġclass Ċ Ġ* Ġ[ Protected Interface OuterClass . Protected Interface Se aled Class ] Ċ Ġ*/ Ċ public Ġenum Ġclass ĠProtected Interface OuterClass _ Protected Interface Se aled Class Enum ( ĊĠĠĠ Ġsealed Object : ĠProtected Interface OuterClass . Protected Interface Se aled Class Ċ ) Ġ: ĠJava Protected Interface Base Class . Protected Interface Ġby Ġsealed Object Ġ{ ĊĠĠĠ ĠProtected Interface OuterClass _ Protected Interface Se aled Class _ First Object ( com . live front . sealed enum . compilation . visibility . Protected Interface OuterClass . Protected Interface Se aled Class . First Object ), ĊĠĠĠ ĠProtected Interface OuterClass _ Protected Interface Se aled Class _ Second Object ( com . live front . sealed enum . compilation . visibility . Protected Interface OuterClass . Protected Interface Se aled Class . Second Object ), Ċ } Ċ Ċ /** Ċ Ġ* ĠThe Ġis omorphic Ġ[ Protected Interface OuterClass _ Protected Interface Se aled Class Enum ] Ġfor Ġ[ this ]. Ċ Ġ*/ Ċ public Ġval ĠProtected Interface OuterClass . Protected Interface Se aled Class .` enum `: ĊĠĠĠĠĠĠĠ ĠProtected Interface OuterClass _ Protected Interface Se aled Class Enum ĊĠĠĠ Ġget () Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ ĠProtected Interface OuterClass _ Protected Interface Se aled Class Se aled Enum . sealed Object To Enum ( this ) Ċ Ċ /** Ċ Ġ* ĠThe Ġis omorphic Ġ[ Protected Interface OuterClass . Protected Interface Se aled Class ] Ġfor Ġ[ this ]. Ċ Ġ*/ Ċ public Ġval ĠProtected Interface OuterClass _ Protected Interface Se aled Class Enum . sealed Object : ĊĠĠĠĠĠĠĠ ĠProtected Interface OuterClass . Protected Interface Se aled Class ĊĠĠĠ Ġget () Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ ĠProtected Interface OuterClass _ Protected Interface Se aled Class Se aled Enum . enum To Se aled Object ( this ) Ċ Ċ /** Ċ Ġ* ĠAn Ġimplementation Ġof Ġ[ Se aled Enum ] Ġfor Ġthe Ġsealed Ġclass Ċ Ġ* Ġ[ Protected Interface OuterClass . Protected Interface Se aled Class ] Ċ Ġ*/ Ċ public Ġobject ĠProtected Interface OuterClass _ Protected Interface Se aled Class Se aled Enum Ġ: ĊĠĠĠĠĠĠĠ ĠSe aled Enum < Protected Interface OuterClass . Protected Interface Se aled Class >, ĊĠĠĠĠĠĠĠ ĠSe aled Enum With Enum Provider < Protected Interface OuterClass . Protected Interface Se aled Class , ĊĠĠĠĠĠĠĠ ĠProtected Interface OuterClass _ Protected Interface Se aled Class Enum >, ĊĠĠĠĠĠĠĠ ĠEnum For Se aled Enum Provider < Protected Interface OuterClass . Protected Interface Se aled Class , ĊĠĠĠĠĠĠĠ ĠProtected Interface OuterClass _ Protected Interface Se aled Class Enum > Ġ{ ĊĠĠĠ Ġpublic Ġoverride Ġval Ġvalues : ĠList < Protected Interface OuterClass . Protected Interface Se aled Class > Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ ĠlistOf ( ĊĠĠĠĠĠĠĠ ĠProtected Interface OuterClass . Protected Interface Se aled Class . First Object , ĊĠĠĠĠĠĠĠ ĠProtected Interface OuterClass . Protected Interface Se aled Class . Second Object ĊĠĠĠ Ġ) ĊĊĊĠĠĠ Ġpublic Ġoverride Ġval Ġenum Class : ĊĠĠĠĠĠĠĠĠĠĠĠ ĠClass < Protected Interface OuterClass _ Protected Interface Se aled Class Enum > ĊĠĠĠĠĠĠĠ Ġget () Ġ= ĠProtected Interface OuterClass _ Protected Interface Se aled Class Enum :: class . java ĊĊĠĠĠ Ġpublic Ġoverride Ġfun Ġordinal Of ( obj : ĠProtected Interface OuterClass . Protected Interface Se aled Class ): ĊĠĠĠĠĠĠĠĠĠĠĠ ĠInt Ġ= Ġwhen Ġ( obj ) Ġ{ ĊĠĠĠĠĠĠĠ ĠProtected Interface OuterClass . Protected Interface Se aled Class . First Object Ġ-> Ġ 0 ĊĠĠĠĠĠĠĠ ĠProtected Interface OuterClass . Protected Interface Se aled Class . Second Object Ġ-> Ġ 1 ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġpublic Ġoverride Ġfun Ġname Of ( obj : ĠProtected Interface OuterClass . Protected Interface Se aled Class ): ĊĠĠĠĠĠĠĠĠĠĠĠ ĠString Ġ= Ġwhen Ġ( obj ) Ġ{ ĊĠĠĠĠĠĠĠ ĠProtected Interface OuterClass . Protected Interface Se aled Class . First Object Ġ-> ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ" Protected Interface OuterClass _ Protected Interface Se aled Class _ First Object " ĊĠĠĠĠĠĠĠ ĠProtected Interface OuterClass . Protected Interface Se aled Class . Second Object Ġ-> ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ" Protected Interface OuterClass _ Protected Interface Se aled Class _ Second Object " ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġpublic Ġoverride Ġfun Ġvalue Of ( name : ĠString ): ĊĠĠĠĠĠĠĠĠĠĠĠ ĠProtected Interface OuterClass . Protected Interface Se aled Class Ġ= Ġwhen Ġ( name ) Ġ{ ĊĠĠĠĠĠĠĠ Ġ" Protected Interface OuterClass _ Protected Interface Se aled Class _ First Object " Ġ-> ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠProtected Interface OuterClass . Protected Interface Se aled Class . First Object ĊĠĠĠĠĠĠĠ Ġ" Protected Interface OuterClass _ Protected Interface Se aled Class _ Second Object " Ġ-> ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠProtected Interface OuterClass . Protected Interface Se aled Class . Second Object ĊĠĠĠĠĠĠĠ Ġelse Ġ-> Ġthrow ĠIllegalArgumentException ("" ${ '" '} No Ġsealed Ġenum Ġconstant Ġ${ '$ '} name "" ${ '" '}) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġpublic Ġoverride ĊĠĠĠĠĠĠĠĠĠĠĠ Ġfun Ġsealed Object To Enum ( obj : ĠProtected Interface OuterClass . Protected Interface Se aled Class ): ĊĠĠĠĠĠĠĠĠĠĠĠ ĠProtected Interface OuterClass _ Protected Interface Se aled Class Enum Ġ= Ġwhen Ġ( obj ) Ġ{ ĊĠĠĠĠĠĠĠ ĠProtected Interface OuterClass . Protected Interface Se aled Class . First Object Ġ-> ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠProtected Interface OuterClass _ Protected Interface Se aled Class Enum . Protected Interface OuterClass _ Protected Interface Se aled Class _ First Object ĊĠĠĠĠĠĠĠ ĠProtected Interface OuterClass . Protected Interface Se aled Class . Second Object Ġ-> ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠProtected Interface OuterClass _ Protected Interface Se aled Class Enum . Protected Interface OuterClass _ Protected Interface Se aled Class _ Second Object ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġpublic Ġoverride ĊĠĠĠĠĠĠĠĠĠĠĠ Ġfun Ġenum To Se aled Object (` enum `: ĠProtected Interface OuterClass _ Protected Interface Se aled Class Enum ): ĊĠĠĠĠĠĠĠĠĠĠĠ ĠProtected Interface OuterClass . Protected Interface Se aled Class Ġ= Ġwhen Ġ( enum ) Ġ{ ĊĠĠĠĠĠĠĠ ĠProtected Interface OuterClass _ Protected Interface Se aled Class Enum . Protected Interface OuterClass _ Protected Interface Se aled Class _ First Object Ġ-> ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠProtected Interface OuterClass . Protected Interface Se aled Class . First Object ĊĠĠĠĠĠĠĠ ĠProtected Interface OuterClass _ Protected Interface Se aled Class Enum . Protected Interface OuterClass _ Protected Interface Se aled Class _ Second Object Ġ-> ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠProtected Interface OuterClass . Protected Interface Se aled Class . Second Object ĊĠĠĠ Ġ} Ċ } Ċ Ċ /** Ċ Ġ* ĠThe Ġindex Ġof Ġ[ this ] Ġin Ġthe Ġvalues Ġlist . Ċ Ġ*/ Ċ public Ġval ĠProtected Interface OuterClass . Protected Interface Se aled Class . ordinal : ĠInt ĊĠĠĠ Ġget () Ġ= ĠProtected Interface OuterClass _ Protected Interface Se aled Class Se aled Enum . ordinal Of ( this ) Ċ Ċ /** Ċ Ġ* ĠThe Ġname Ġof Ġ[ this ] Ġfor Ġuse Ġwith Ġvalue Of . Ċ Ġ*/ Ċ public Ġval ĠProtected Interface OuterClass . Protected Interface Se aled Class . name : ĠString ĊĠĠĠ Ġget () Ġ= ĠProtected Interface OuterClass _ Protected Interface Se aled Class Se aled Enum . name Of ( this ) Ċ Ċ /** Ċ Ġ* ĠA Ġlist Ġof Ġall Ġ[ Protected Interface OuterClass . Protected Interface Se aled Class ] Ġobjects . Ċ Ġ*/ Ċ public Ġval ĠProtected Interface OuterClass . Protected Interface Se aled Class . Companion . values : ĊĠĠĠĠĠĠĠ ĠList < Protected Interface OuterClass . Protected Interface Se aled Class > ĊĠĠĠ Ġget () Ġ= ĠProtected Interface OuterClass _ Protected Interface Se aled Class Se aled Enum . values Ċ Ċ /** Ċ Ġ* ĠReturns Ġan Ġimplementation Ġof Ġ[ Se aled Enum ] Ġfor Ġthe Ġsealed Ġclass Ċ Ġ* Ġ[ Protected Interface OuterClass . Protected Interface Se aled Class ] Ċ Ġ*/ Ċ public Ġval ĠProtected Interface OuterClass . Protected Interface Se aled Class . Companion . sealed Enum : ĊĠĠĠĠĠĠĠ ĠProtected Interface OuterClass _ Protected Interface Se aled Class Se aled Enum ĊĠĠĠ Ġget () Ġ= ĠProtected Interface OuterClass _ Protected Interface Se aled Class Se aled Enum Ċ Ċ /** Ċ Ġ* ĠReturns Ġthe Ġ[ Protected Interface OuterClass . Protected Interface Se aled Class ] Ġobject Ġfor Ġthe Ġgiven Ċ Ġ* Ġ[ name ]. Ċ Ġ* Ċ Ġ* ĠIf Ġthe Ġgiven Ġname Ġdoesn 't Ġcorrespond Ġto Ġany Ċ Ġ* Ġ[ Protected Interface OuterClass . Protected Interface Se aled Class ], Ġan Ġ[ IllegalArgumentException ] Ġwill Ġbe Ċ Ġ* Ġthrown . Ċ Ġ*/ Ċ public ĊĠĠĠĠĠĠĠ Ġfun ĠProtected Interface OuterClass . Protected Interface Se aled Class . Companion . valueOf ( name : ĠString ): ĊĠĠĠĠĠĠĠ ĠProtected Interface OuterClass . Protected Interface Se aled Class Ġ= ĊĠĠĠĠĠĠĠ ĠProtected Interface OuterClass _ Protected Interface Se aled Class Se aled Enum . valueOf ( name ) Ċ Ċ """. trim Indent () Ċ