public static KindName absentKind ( int kind ) { switch ( kind ) { case ABSENT_VAR : return KindName . VAR ; case WRONG_MTHS : case WRONG_MTH : case ABSENT_MTH : case WRONG_STATICNESS : return KindName . METHOD ; case ABSENT_TYP : return KindName . CLASS ; default : throw new AssertionError ( "Unexpected kind: " + kind ) ; } }
A KindName representing the kind of a missing symbol given an error kind .