private VarDef findVarPath ( List < VarDef > combinedVars , String varPath ) { int i ; for ( i = 0 ; i < combinedVars . size ( ) && ! varPath . equals ( combinedVars . get ( i ) . getPathName ( ) ) ; i ++ ) ; return i < combinedVars . size ( ) ? combinedVars . get ( i ) : null ; }
Returns the member of the given variable list with the given path .