Nested named methods and enhanced closures for Java