Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | isAnonymousClass/Function for delambdafy classes is not true | Lukas Rytz | 2014-09-12 | 2 | -0/+9 |
Ydelambdafy:method lambda classes are not anonymous classes, and not anonymous function classes either. They are somethig new, so there's a new predicate isDelambdafyFunction. They are not anonymous classes (or functions) because anonymous classes in Java speak are nested. Delambdafy classes are always top-level, they are just synthetic. Before this patch, isAnonymous was sometimes accidentailly true: if the lambda is nested in an anonymous class. Now it's always false. |