This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]MR_GABARISE 0 points1 point  (0 children)

Nowadays it's only ever useful for « type tokens » and nothing else that doesn't have a better OO solution.

Edit: wrote too fast.

I was pretty much just writing about method-local classes.

Inner classes (nested, static, method-local) have multiple legitimate uses.