package org.panda_lang.panda.framework.language.interpreter.parser.generation.pipeline;

import org.panda_lang.panda.framework.design.interpreter.parser.generation.pipeline.PipelineType;

import java.util.Arrays;
import java.util.List;

public class PandaTypes {

    public static final String RAW_SYNTAX_LABEL = "RAW_SYNTAX";
    public static final PipelineType RAW_SYNTAX = new PipelineType(RAW_SYNTAX_LABEL, 1.0);

    public static final String TYPES_LABEL = "TYPES";
    public static final PipelineType TYPES = new PipelineType(TYPES_LABEL, 2.0);

    public static final String SYNTAX_LABEL = "SYNTAX";
    public static final PipelineType SYNTAX = new PipelineType(SYNTAX_LABEL, 3.0);

    public static final String CONTENT_LABEL = "CONTENT";
    public static final PipelineType CONTENT = new PipelineType(CONTENT_LABEL, 4.0);

    private static final PipelineType[] VALUES = new PipelineType[4];

    static {
        VALUES[0] = RAW_SYNTAX;
        VALUES[1] = TYPES;
        VALUES[2] = SYNTAX;
        VALUES[3] = CONTENT;
    }

    public static List<? extends PipelineType> getValues() {
        return Arrays.asList(VALUES);
    }

}

@@ -184,32 +184,127 @@
 pe;%0A
-%0Aimport java.util.Arrays
+import org.panda_lang.panda.utilities.commons.ReflectionUtils;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.Collection
 ;%0Aim
@@ -945,32 +945,43 @@
 te static final 
+Collection%3C
 PipelineType%5B%5D V
@@ -980,39 +980,16 @@
 Type
-%5B%5D
+%3E
  VALUES
- = new PipelineType%5B4%5D
 ;%0A%0A 
@@ -1018,108 +1018,85 @@
 LUES
-%5B0%5D
  = R
-AW_SYNTAX;%0A        VALUES%5B1%5D = TYPES;%0A        VALUES%5B2%5D = SYNTAX;%0A        VALUES%5B3%5D = CONTENT
+eflectionUtils.getFieldValues(PandaTypes.class, PipelineType.class, null)
 ;%0A  
@@ -1180,21 +1180,23 @@
 urn 
+new 
 Array
-s.as
 List
+%3C%3E
 (VAL

Simplify PandaTypes