public static boolean contains ( TYPE_1 VAR_1 , TYPE_1 type ) { if ( ( VAR_1 == null ) || ( type == null ) ) { return false ; } TYPE_1 VAR_2 = TYPE_2 . METHOD_1 ( type ) ; TYPE_1 VAR_3 = TYPE_2 . METHOD_1 ( VAR_1 ) ; while ( VAR_2 != null ) { if ( VAR_2 == VAR_3 ) { return true ; } else { VAR_2 = TYPE_2 . METHOD_1 ( VAR_2 . METHOD_2 ( ) ) ; } } return false ; }

public static boolean contains ( TYPE_1 VAR_1 , TYPE_1 type ) { if ( ( VAR_1 == null ) || ( type == null ) ) { return true ; } TYPE_1 VAR_2 = TYPE_2 . METHOD_1 ( type ) ; TYPE_1 VAR_3 = TYPE_2 . METHOD_1 ( VAR_1 ) ; while ( VAR_2 != null ) { if ( VAR_2 == VAR_3 ) { return true ; } else { VAR_2 = TYPE_2 . METHOD_1 ( VAR_2 . METHOD_2 ( ) ) ; } } return false ; }
