/* Ċ Ġ* ĠCopyright Ġ 2 0 0 0 - 2 0 2 0 ĠJetBrains Ġs . r . o . Ġand Ġother Ġcontributors . ĠUse Ġof Ġthis Ġsource Ġcode Ġis Ġgoverned Ġby Ġthe ĠApache Ġ 2 . 0 Ġlicense Ġthat Ġcan Ġbe Ġfound Ġin Ġthe ĠLICENSE Ġfile . Ċ Ġ*/ Ċ Ċ package Ġcom . jetbrains . plugin verifier . results . problems Ċ Ċ import Ġcom . jetbrains . plugin . structure . base . utils . format Message Ċ import Ġcom . jetbrains . plugin verifier . results . hierarchy . Class Hierarchy Ċ import Ġcom . jetbrains . plugin verifier . results . instruction . Instruction Ċ import Ġcom . jetbrains . plugin verifier . results . location . Method Location Ċ import Ġcom . jetbrains . plugin verifier . results . presentation . Hierarchical Problems Description Ċ import Ġcom . jetbrains . plugin verifier . results . presentation . Host Class Option . FULL _ HOST _ NAME Ċ import Ġcom . jetbrains . plugin verifier . results . presentation . Method ParameterName Option . WITH _ PARAM _ NAMES _ IF _ AVAILABLE Ċ import Ġcom . jetbrains . plugin verifier . results . presentation . Method ParameterType Option . FULL _ PARAM _ CLASS _ NAME Ċ import Ġcom . jetbrains . plugin verifier . results . presentation . Method ParameterType Option . SIMPLE _ PARAM _ CLASS _ NAME Ċ import Ġcom . jetbrains . plugin verifier . results . presentation . Method ReturnType Option . FULL _ RETURN _ TYPE _ CLASS _ NAME Ċ import Ġcom . jetbrains . plugin verifier . results . presentation . Method ReturnType Option . SIMPLE _ RETURN _ TYPE _ CLASS _ NAME Ċ import Ġcom . jetbrains . plugin verifier . results . presentation . format Method Location Ċ import Ġcom . jetbrains . plugin verifier . results . presentation . format Method Reference Ċ import Ġcom . jetbrains . plugin verifier . results . presentation . method Or Constructor Word Ċ import Ġcom . jetbrains . plugin verifier . results . reference . Method Reference Ċ import Ġjava . util .* Ċ Ċ class ĠMethod NotFound Problem ( ĊĠ Ġval Ġun resolved Method : ĠMethod Reference , ĊĠ Ġval Ġcaller : ĠMethod Location , ĊĠ Ġval Ġinstruction : ĠInstruction , ĊĠ Ġval Ġmethod Owner Hierarchy : ĠClass Hierarchy Ċ ) Ġ: ĠCompatibility Problem () Ġ{ ĊĊĠ Ġoverride Ġval Ġproblem Type ĊĠĠĠ Ġget () Ġ= Ġ" Method Ġnot Ġfound " ĊĊĠ Ġoverride Ġval Ġshort Description ĊĠĠĠ Ġget () Ġ= Ġ" Invocation Ġof Ġun resolved Ġ{ 0 } Ġ{ 1 }". format Message ( ĊĠĠĠĠĠ Ġun resolved Method . method Or Constructor Word , ĊĠĠĠĠĠ Ġun resolved Method . format Method Reference ( FULL _ HOST _ NAME , ĠS IMP LE _ PARAM _ CLASS _ NAME , ĠS IMP LE _ RETURN _ TYPE _ CLASS _ NAME ) ĊĠĠĠ Ġ) ĊĊĠ Ġprivate Ġval Ġdescription Main Part ĊĠĠĠ Ġget () Ġ= Ġbuild String Ġ{ ĊĠĠĠĠĠ Ġappend ( ĊĠĠĠĠĠĠĠ Ġ"${ caller . elementType . present able Name . capitalize ()} Ġ{ 0 } Ġcontains Ġan Ġ* { 1 } * Ġinstruction Ġreferencing Ġan Ġun resolved Ġ{ 2 } Ġ{ 3 }. Ġ". format Message ( ĊĠĠĠĠĠĠĠĠĠ Ġcaller . format Method Location ( FULL _ HOST _ NAME , ĠFULL _ PARAM _ CLASS _ NAME , ĠFULL _ RETURN _ TYPE _ CLASS _ NAME , ĠWITH _ PARAM _ NAMES _ IF _ AVAILABLE ), ĊĠĠĠĠĠĠĠĠĠ Ġinstruction , ĊĠĠĠĠĠĠĠĠĠ Ġun resolved Method . method Or Constructor Word , ĊĠĠĠĠĠĠĠĠĠ Ġun resolved Method . format Method Reference ( FULL _ HOST _ NAME , ĠFULL _ PARAM _ CLASS _ NAME , ĠFULL _ RETURN _ TYPE _ CLASS _ NAME ) ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠ Ġ) ĊĠĠĠĠĠ Ġappend (" This Ġcan Ġlead Ġto Ġ** NoSuch Method Error ** Ġexception Ġat Ġruntime .") ĊĠĠĠ Ġ} ĊĊĠ Ġoverride Ġval Ġfull Description ĊĠĠĠ Ġget () Ġ= Ġbuild String Ġ{ ĊĠĠĠĠĠ Ġappend ( description Main Part ) ĊĠĠĠĠĠ Ġif Ġ( instruction Ġ!= ĠInstruction . IN VOKE _ SPECIAL ) Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġhint Ġ= ĠH ierarchical Problems Description . present ableElement M ight Have Been Declared In Super Types (" method ", Ġmethod Owner Hierarchy , Ġtrue , Ġtrue ) ĊĠĠĠĠĠĠĠ Ġif Ġ( hint . isNotEmpty ()) Ġ{ ĊĠĠĠĠĠĠĠĠĠ Ġappend ln () ĊĠĠĠĠĠĠĠĠĠ Ġappend ( hint ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠ Ġoverride Ġfun Ġequals ( other : ĠAny ?) Ġ= Ġother Ġis ĠMethod NotFound Problem ĊĠĠĠ Ġ&& Ġun resolved Method Ġ== Ġother . un resolved Method ĊĠĠĠ Ġ&& Ġcaller Ġ== Ġother . caller ĊĠĠĠ Ġ&& Ġinstruction Ġ== Ġother . instruction ĊĊĠ Ġoverride Ġfun ĠhashCode () Ġ= ĠObjects . hash ( un resolved Method , Ġcaller , Ġinstruction ) Ċ Ċ }