One import static to rule them all (original) (raw)

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



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