private static TYPE_1 METHOD_1 ( TYPE_1 VAR_1 , TYPE_2 VAR_2 ) { for ( TYPE_1 VAR_3 : VAR_2 . METHOD_2 ( ) ) { if ( VAR_3 . METHOD_3 ( ) . getId ( ) . equals ( VAR_1 . METHOD_3 ( ) . getId ( ) ) ) { return VAR_3 ; } } return null ; }

protected static TYPE_1 METHOD_1 ( TYPE_1 VAR_1 , TYPE_2 VAR_2 ) { for ( TYPE_1 VAR_3 : VAR_2 . METHOD_2 ( ) ) { if ( VAR_3 . METHOD_3 ( ) . getId ( ) . equals ( VAR_1 . METHOD_3 ( ) . getId ( ) ) ) { return VAR_3 ; } } return null ; }
