private Bean putIfAbsent ( BeanId id ) { Bean bean = beans . get ( id ) ; if ( bean == null ) { bean = Bean . create ( id ) ; beans . put ( id , bean ) ; } return bean ; }
Add a empty bean based on id if it does not already exist .