question: public static int modifierFlags ( boolean altP , boolean ctrlP , boolean metaP , boolean shiftP ) { int flags = 0 ; if ( altP ) flags |= F_ALT_DOWN ; if ( ctrlP ) flags |= F_CTRL_DOWN ; if ( metaP ) flags |= F_META_DOWN ; if ( shiftP ) flags |= F_SHIFT_DOWN ; return flags ; }
target:  A helper function used by platform input code to compose modifier flags. 