package Ġcom . jetbrains . snake charm . code Insight . refactor ing Ċ Ċ import Ġcom . intellij . psi . Psi Element Ċ import Ġcom . intellij . refactor ing . listeners . Ref actor ing Element Listener Ċ import Ġcom . intellij . refactor ing . rename . Rename Psi Element Processor Ċ import Ġcom . intellij . usage View . Usage Info Ċ import Ġcom . intellij . util . Incorrect OperationException Ċ import Ġcom . jetbrains . snake charm . lang . psi . S mk Rule Like Ċ import Ġcom . jetbrains . snake charm . lang . psi . S mk Section Ċ Ċ class ĠS mk Rename Psi Element Processor : ĠRename Psi Element Processor () Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġcan Process Element ( element : ĠPsi Element ) Ġ= Ġelement Ġis ĠS mk Section Ġ&& Ġelement Ġ! is ĠS mk Rule Like < *> ĊĠĠĠ Ġoverride Ġfun Ġrename Element ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġelement : ĠPsi Element , ĊĠĠĠĠĠĠĠĠĠĠĠ ĠnewName : ĠString , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġusage s : ĠArray < out ĠUsage Info >, ĊĠĠĠĠĠĠĠĠĠĠĠ Ġlistener : ĠRefactor ing Element Listener ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġthrow ĠInc orrect OperationException (" Section Ġkeyword Ġrename Ġnot Ġallowed .") ĊĠĠĠ Ġ} Ċ }