public static boolean METHOD_1 ( java.lang.Long id , TYPE_1 VAR_1 ) { java.util.List < TYPE_2 > list = VAR_1 . METHOD_2 ( ) ; for ( TYPE_2 p : list ) { if ( ( p . getId ( ) ) == id ) { return true ; } } return false ; }

private boolean METHOD_1 ( java.lang.Long id , TYPE_1 VAR_1 ) { java.util.List < TYPE_2 > list = VAR_1 . METHOD_2 ( ) ; for ( TYPE_2 p : list ) { if ( ( p . getId ( ) ) == id ) { return true ; } } return false ; }
