private long getId ( TYPE_1 VAR_1 ) throws java.lang.NullPointerException { long result = 0 ; try { result = java.lang.Long . METHOD_1 ( VAR_1 . METHOD_2 ( STRING_1 ) ) ; } catch ( TYPE_2 VAR_2 ) { VAR_2 . METHOD_3 ( ) ; } return result ; } 

private long getId ( TYPE_1 VAR_1 ) throws java.lang.NullPointerException { long result = 0 ; try { result = java.lang.Long . METHOD_1 ( VAR_1 . METHOD_2 ( "id" ) ) ; } catch ( TYPE_2 VAR_2 ) { VAR_2 . METHOD_3 ( ) ; } return result ; } 
