public static LevelType forType(Type type) { return new LevelType(type.getDimension(), type.getHierarchy(), type.getLevel()); }