question: static Random random ( ) { if ( null == LUCENE_TEST_CASE ) { return null ; } else { try { Method randomMethod = LUCENE_TEST_CASE . getMethod ( "random" ) ; return ( Random ) randomMethod . invoke ( null ) ; } catch ( Exception e ) { throw new IllegalStateException ( "Unable to use reflection to invoke LuceneTestCase.random()" , e ) ; } } }
target:  Returns a random to be used by the current thread if available, otherwise returns null.