I have this import source :
import static MinecraftDungeonTileTypes.*;
on class in same package as the class MinecraftDungeonTileTypes
source of class:
package mod.dungeonworld;
public class MinecraftDungeonTileTypes {
public static int TILE_WALL = 0;
public static int TILE_ROAD = 1;
public static int TILE_DOOR = 2;
public static int TILE_CHEST = 3;
public static int TILE_ROOM = 4;
public static int TILE_COD = 5;
public static int TILE_SPAWNER = 6;
}
What I get Is an compilation error:
Description Resource Path Location Type The import MinecraftDungeonTileTypes cannot be resolved.
When I use the static members of class MinecraftDungeonTileTypes regularly without static import I get no compile error. What is causing that?