public static boolean METHOD_1 ( TYPE_1 VAR_1 ) { for ( TYPE_2 VAR_2 : VAR_1 . METHOD_2 ( ) ) { if ( VAR_2 instanceof TYPE_3 ) return true ; } return false ; }
public static boolean METHOD_1 ( TYPE_1 VAR_1 ) { if ( VAR_1 == null ) return false ; for ( TYPE_2 VAR_2 : VAR_1 . METHOD_2 ( ) ) { if ( VAR_2 instanceof TYPE_3 ) return true ; } return false ; }