Community
Participate
Working Groups
Currently it is not possible to make a static import if a static member is defined in a super class. Here is a real world example: class org.mockito.Matchers { public static String anyString(){..} } class org.mockito.Mockito extends org.mockito.Matchers { } It is not possible to do a static import of Mockito.anyString(), it is only possible if the declaring type of #anyString() is referenced -> Matchers.anyString().