Added foreach parsing for Java, and updated C# version for fixes in srcML parsing.