public static int METHOD_1 ( int num ) { while ( ! ( TYPE_1 . METHOD_2 ( num ) ) ) { num ++ ; } return num ; } 

public static int METHOD_1 ( int num ) { int result = num ; while ( ! ( TYPE_1 . METHOD_2 ( result ) ) ) { result ++ ; } return result ; } 
