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

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