Static import "compile error"

When I attempt to static import the org.easymock.classextension.EasyMock.createMock in IDEA 5.1.1 (MacOS), I see a red line with the message "method 'createMock' is already defined in a single-type import". I cannot reproduce this problem with any other method. Followng is a sample:

import static org.easymock.classextension.EasyMock.createMock;

final class X {

}

2 comments
Comment actions Permalink

What is org.easymock.classextension package ? I am unable to find it
anywhere.
Could you please file an issue to the www.intellij.net/jira along with
self-containing example ?

--
regards,
--
Alexey Kudravtsev
Software Developer
JetBrains, Inc, http://www.jetbrains.com
"Develop with pleasure!"

"Tony Morris" <no_reply@jetbrains.com> wrote in message
news:32319024.1147656195585.JavaMail.itn@is.intellij.net...

When I attempt to static import the
org.easymock.classextension.EasyMock.createMock in IDEA 5.1.1 (MacOS), I
see a red line with the message "method 'createMock' is already defined in
a single-type import". I cannot reproduce this problem with any other
method. Followng is a sample:

>

import static org.easymock.classextension.EasyMock.createMock;

>

final class X {

>

}



0

Please sign in to leave a comment.