public boolean METHOD_1 ( ) { return getId ( ) . equals ( TYPE_1 . METHOD_2 ( ) ) ; } 

public boolean METHOD_1 ( ) { return ( ( getId ( ) ) != null ) && ( getId ( ) . equals ( TYPE_1 . METHOD_2 ( ) ) ) ; } 
