private int METHOD_1 ( TYPE_1 state ) { for ( TYPE_2 a : TYPE_2 . values ( ) ) { if ( ( VAR_1 ) == state ) { return VAR_2 ; } } return 1 ; } 

private int METHOD_1 ( TYPE_1 state ) { for ( TYPE_2 a : TYPE_2 . values ( ) ) { if ( ( VAR_1 ) == state ) { return VAR_2 ; } } return 0 ; } 
