What is Java.EnclosingScopeOfTypeDeclaration for?

View: New views
2 Messages — Rating Filter:   Alert me  

What is Java.EnclosingScopeOfTypeDeclaration for?

by Matt Fowles :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

All~

What is the class Java.EnclosingScopeOfTypeDeclaration use for?

The comment just says that is does something lazily, but I don't see
why that laziness is needed or desirable.

Matt

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: What is Java.EnclosingScopeOfTypeDeclaration for?

by Arno Unkrig :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Matt Fowles schrieb:
> All~
>
> What is the class Java.EnclosingScopeOfTypeDeclaration use for?
>
> The comment just says that is does something lazily, but I don't see
> why that laziness is needed or desirable.
>
> Matt

To be honest... I can't really remember. But if you replace all
instantiations of this class with "Type()", you end up with endless
loops while nested types are unrolled.

Need to do some more research.


CU

Arno

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email