yes it is! 
in java 8 you can do summaries.add(() -> { ... })