set the graphics font and others to the style for the given token concode_field_sep SyntaxStyles instance concode_elem_sep Logger LOG concode_elem_sep Map<TokenType,SyntaxStyle> styles concode_elem_sep SyntaxStyle DEFAULT_STYLE concode_field_sep SyntaxStyles createInstance concode_elem_sep SyntaxStyle getStyle concode_elem_sep void mergeStyles concode_elem_sep int drawText concode_elem_sep SyntaxStyles getInstance concode_elem_sep void put
void function ( Graphics arg0 , TokenType arg1 ) { Font loc0 = arg0 . getFont ( ) ; SyntaxStyle loc1 = styles . get ( arg1 ) ; if ( loc1 != null ) { arg0 . setFont ( arg0 . getFont ( ) . deriveFont ( loc1 . getFontStyle ( ) ) ) ; arg0 . setColor ( loc1 . getColor ( ) ) ; } else { arg0 . setFont ( arg0 . getFont ( ) . deriveFont ( Font . PLAIN ) ) ; arg0 . setColor ( Color . BLACK ) ; } }