public TYPE_1 METHOD_1 ( int position ) { switch ( position ) { case 0 : new TYPE_2 ( ) ; case 1 : new TYPE_3 ( ) ; } return null ; }
public TYPE_1 METHOD_1 ( int position ) { switch ( position ) { case 0 : return new TYPE_2 ( ) ; case 1 : return new TYPE_3 ( ) ; } return null ; }