Looks pretty slick, one formatting problem though.
Formatter says (around line 57)
public static void collectEvents(ComplexComponent comp, Collection<Event> events) {
getComplexComponents(comp)
.forEach(cc ->
{ // <-- and checkStyle complains "Block start curly brace '{' should be on previous line."
cc.getDeclarations().stream().filter(decl -> decl instanceof Event)
.forEach(decl -> events.add((Event)decl));
});
}
Closes #330 (closed) #336 (closed)
Edited by Dennis Hendriks