-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend Classes Syntax for anonymous / inner / outer classes #207
Comments
Overlaps in parts with #172 |
The JLS defines four different kinds of classes, see chapter 8. With this reference I suggest to add the methods
And of course the same for To be consistent with existing methods we should also add the negated methods like |
We should also make the determination of the nested class type more resilient. Currently |
I started working on this issue. |
It would be neat to have
classes().that().
areAnonymous()
areInnerClasses()
(includes anonymous classes, do we needareNamedInnerClasses()
?)areOuterClasses()
(i.e. no enclosing class / toplevel, I'm open for better naming 😉)Same holds for
classes().should().be...
The text was updated successfully, but these errors were encountered: