public METHOD_1 ( ) { if ( ( type ) == STRING_1 ) type = STRING_2 ; else if ( ( type ) == STRING_3 ) type = STRING_4 ; else type = STRING_5 ; return type ; } 

public java.lang.String METHOD_1 ( ) { if ( type . equals ( STRING_1 ) ) { type = STRING_2 ; } else if ( type . equals ( STRING_3 ) ) { type = STRING_4 ; } else { type = STRING_5 ; } return type ; } 
