One import static to rule them all

Kevin Bourrillion kevinb at google.com
Wed Feb 6 18:09:32 PST 2013


On Wed, Feb 6, 2013 at 4:35 PM, Remi Forax <forax at univ-mlv.fr> wrote:

We talk about a call like Interface.staticM(), but we never talk about the
> static import explicitly.
> So if someone does a static import on an interface, you suggest that the
> compiler should see only the static methods declared in the interface and
> all the static fields declared or inherited from inherited interfaces (for
> backward compat.) ?
>

I would certainly expect that what I can static-import, I could also invoke
directly, yes.


-- 
Kevin Bourrillion | Java Librarian | Google, Inc. | kevinb at google.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/lambda-libs-spec-experts/attachments/20130206/16ca9260/attachment.html 


More information about the lambda-libs-spec-experts mailing list