public TYPE_1 METHOD_1 ( int position ) { if ( position == 0 ) { return TYPE_2 . METHOD_2 ( ) ; } else if ( position == 1 ) { return TYPE_3 . METHOD_3 ( ) ; } return null ; } 

public TYPE_1 METHOD_1 ( int position ) { if ( position == 0 ) { return new TYPE_2 ( ) ; } else if ( position == 1 ) { return TYPE_3 . METHOD_3 ( ) ; } return null ; } 
