I do agree to @haarts in that it would be much easier to read to have a simple method. Especially since not all the programmers working on transmart are into all details from spring. In this case I would prefer readability above perfectly compact code