returns the calling line of code . the selected line is the nearest to the top of the stack that is not skipped . concode_field_sep Object UNKNOWN_SOURCE concode_elem_sep Set<String> classNamesToSkip concode_elem_sep SourceProvider DEFAULT_INSTANCE concode_field_sep SourceProvider plusSkippedClasses
StackTraceElement function ( ) { for ( final StackTraceElement loc0 : new Throwable ( ) . getStackTrace ( ) ) { String loc1 = loc0 . getClassName ( ) ; if ( ! classNamesToSkip . contains ( loc1 ) ) { return loc0 ; } } throw new AssertionError ( ) ; }