/** * Obtains an instance from the specified name. * <p> * Surface names may contain any character, but must not be empty. * * @param name the name of the surface * @return a surface with the specified name */ @FromString public static SurfaceName of(String name) { return new SurfaceName(name); }