package no.stelar7.api.l4j8.basic.constants.types;

import java.util.Optional;
import java.util.stream.Stream;

public enum LeaguePositionType implements CodedEnum
{
    /**
     * Top lane
     */
    TOP,
    /**
     * Jungle
     */
    JUNGLE,
    /**
     * Mid lane
     */
    MIDDLE,
    /**
     * Bottom lane
     */
    BOTTOM,
    /**
     * Support
     */
    UTILITY;
    
    /**
     * Returns an LeaguePositionType from the provided value
     *
     * @param type the type to check
     * @return LeaguePositionType
     */
    public Optional<LeaguePositionType> getFromCode(final String type)
    {
        return Stream.of(LeaguePositionType.values()).filter(t -> t.name().equalsIgnoreCase(type)).findFirst();
    }
    
    /**
     * The value used to map strings to objects
     *
     * @return String
     */
    public String getCode()
    {
        return this.name();
    }
}

@@ -159,32 +159,105 @@
 dEnum%0A%7B%0A    /**%0A
+     * MASTER+ rank gets this for some reason?%0A     */%0A    APEX,%0A    /**%0A
      * Top lane%0A
@@ -448,16 +448,72 @@
  UTILITY
+,%0A    /**%0A     * Not a positional queue%0A     */%0A    NONE
 ;%0A    %0A 

Add missing params to league position