public static boolean isDebugEnabled ( JShell state , int flag ) { if ( debugMap == null ) { return false ; } Integer flags = debugMap . get ( state ) ; if ( flags == null ) { return false ; } return ( flags & flag ) != 0 ; }
Tests if any of the specified debug flags are enabled .