question: public static EnumSet < KindName > kindNames ( int kind ) { EnumSet < KindName > kinds = EnumSet . noneOf ( KindName . class ) ; if ( ( kind & VAL ) != 0 ) kinds . add ( ( ( kind & VAL ) == VAR ) ? KindName . VAR : KindName . VAL ) ; if ( ( kind & MTH ) != 0 ) kinds . add ( KindName . METHOD ) ; if ( ( kind & TYP ) != 0 ) kinds . add ( KindName . CLASS ) ; if ( ( kind & PCK ) != 0 ) kinds . add ( KindName . PACKAGE ) ; return kinds ; }
target:  A set of KindName(s) representing a set of symbol's kinds.