package Ġme . xd rop . night owl . settings Ċ Ċ import Ġcom . intellij . openapi . components . Persistent State Component Ċ import Ġcom . intellij . openapi . components . Service Manager . getService Ċ import Ġcom . intellij . openapi . components . State Ċ import Ġcom . intellij . openapi . components . Storage Ċ import Ġcom . intellij . util . xml b . Xml Serializer Util Ċ Ċ @ State ( name Ġ= Ġ" Night O wl Theme Config ", Ġstorage s =[ Storage (" night - owl - theme . xml ") ]) Ċ class ĠNight O wl Settings Ġ: ĠPersistent State Component < Night O wl Settings > Ġ{ ĊĊĠĠĠ Ġvar Ġis Appearance Settings Enabled Ġ= Ġfalse ĊĠĠĠ Ġvar Ġis Override Rain bow Br ackets Ġ= Ġtrue ĊĠĠĠ Ġvar Ġis Setup Ġ= Ġtrue ĊĠĠĠ Ġvar Ġversion Ġ= Ġ" unset " ĊĊĠĠĠ Ġoverride Ġfun ĠgetState () Ġ= Ġthis ĊĊĠĠĠ Ġoverride Ġfun Ġload State ( state : ĠNight O wl Settings ) Ġ{ ĊĠĠĠĠĠĠĠ ĠXml Serializer Util . copy Bean ( state , Ġthis ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġinstance : ĠNight O wl Settings ĊĠĠĠĠĠĠĠĠĠĠĠ Ġget () Ġ= Ġget Service ( Night O wl Settings :: class . java ) ĊĠĠĠ Ġ} Ċ } Ċ