Comment Comment by maxxxxx I wish you could somehow define a return type for a function without having to declare a class. Maybe have the function return an anonymous class and then have the compiler infer that. parent maxxxxx 9 years ago