public int METHOD_1 ( TYPE_1 VAR_1 , int id ) { TYPE_2 data = METHOD_2 ( VAR_1 ) ; return data . METHOD_1 ( id ) ; } 

public int METHOD_1 ( TYPE_1 VAR_1 , int id ) { TYPE_2 data = METHOD_2 ( VAR_1 ) ; if ( data == null ) return 0 ; return data . METHOD_1 ( id ) ; } 
