void function ( Bug arg0 ) { if ( arg0 . getId ( ) == null ) { arg0 . setId ( idSequence ++ ) ; } bugs . put ( arg0 . getId ( ) , arg0 ) ; }
static helper so that it can be used both by the instance method , and in static init . concode_field_sep Map<Integer,Bug> bugs concode_elem_sep int idSequence concode_field_sep Bug getBug concode_elem_sep List<Bug> getAllBugs concode_elem_sep void saveOrUpdate