// CheckStyle: stop header check
// CheckStyle: stop line length check
// GENERATED CONTENT - DO NOT EDIT
// Source: InlineBeforeAnalysisPolicyUtils.java
package com.oracle.svm.hosted.phases;

import java.util.*;
import org.graalvm.compiler.options.*;
import org.graalvm.compiler.options.OptionType;
import org.graalvm.compiler.options.OptionStability;

public class InlineBeforeAnalysisPolicyUtils_OptionDescriptors implements OptionDescriptors {
    @Override
    public OptionDescriptor get(String value) {
        switch (value) {
        // CheckStyle: stop line length check
        case "InlineBeforeAnalysisAllowedDepth": {
            return OptionDescriptor.create(
                /*name*/ "InlineBeforeAnalysisAllowedDepth",
                /*optionType*/ OptionType.Debug,
                /*optionValueType*/ Integer.class,
                /*help*/ "Maximum call depth for method inlined before static analysis",
                /*declaringClass*/ InlineBeforeAnalysisPolicyUtils.Options.class,
                /*fieldName*/ "InlineBeforeAnalysisAllowedDepth",
                /*option*/ InlineBeforeAnalysisPolicyUtils.Options.InlineBeforeAnalysisAllowedDepth,
                /*stability*/ OptionStability.EXPERIMENTAL,
                /*deprecated*/ false,
                /*deprecationMessage*/ "");
        }
        case "InlineBeforeAnalysisAllowedInlinings": {
            return OptionDescriptor.create(
                /*name*/ "InlineBeforeAnalysisAllowedInlinings",
                /*optionType*/ OptionType.Debug,
                /*optionValueType*/ Integer.class,
                /*help*/ "Maximum number of methods inlined for method inlined before static analysis",
                /*declaringClass*/ InlineBeforeAnalysisPolicyUtils.Options.class,
                /*fieldName*/ "InlineBeforeAnalysisAllowedInlinings",
                /*option*/ InlineBeforeAnalysisPolicyUtils.Options.InlineBeforeAnalysisAllowedInlinings,
                /*stability*/ OptionStability.EXPERIMENTAL,
                /*deprecated*/ false,
                /*deprecationMessage*/ "");
        }
        case "InlineBeforeAnalysisAllowedInvokes": {
            return OptionDescriptor.create(
                /*name*/ "InlineBeforeAnalysisAllowedInvokes",
                /*optionType*/ OptionType.Debug,
                /*optionValueType*/ Integer.class,
                /*help*/ "Maximum number of invokes for method inlined before static analysis",
                /*declaringClass*/ InlineBeforeAnalysisPolicyUtils.Options.class,
                /*fieldName*/ "InlineBeforeAnalysisAllowedInvokes",
                /*option*/ InlineBeforeAnalysisPolicyUtils.Options.InlineBeforeAnalysisAllowedInvokes,
                /*stability*/ OptionStability.EXPERIMENTAL,
                /*deprecated*/ false,
                /*deprecationMessage*/ "");
        }
        case "InlineBeforeAnalysisAllowedNodes": {
            return OptionDescriptor.create(
                /*name*/ "InlineBeforeAnalysisAllowedNodes",
                /*optionType*/ OptionType.Debug,
                /*optionValueType*/ Integer.class,
                /*help*/ "Maximum number of computation nodes for method inlined before static analysis",
                /*declaringClass*/ InlineBeforeAnalysisPolicyUtils.Options.class,
                /*fieldName*/ "InlineBeforeAnalysisAllowedNodes",
                /*option*/ InlineBeforeAnalysisPolicyUtils.Options.InlineBeforeAnalysisAllowedNodes,
                /*stability*/ OptionStability.EXPERIMENTAL,
                /*deprecated*/ false,
                /*deprecationMessage*/ "");
        }
        case "InlineBeforeAnalysisMethodHandleAllowedDepth": {
            return OptionDescriptor.create(
                /*name*/ "InlineBeforeAnalysisMethodHandleAllowedDepth",
                /*optionType*/ OptionType.Debug,
                /*optionValueType*/ Integer.class,
                /*help*/ "Maximum call depth for method handle internals inlined before static analysis",
                /*declaringClass*/ InlineBeforeAnalysisPolicyUtils.Options.class,
                /*fieldName*/ "InlineBeforeAnalysisMethodHandleAllowedDepth",
                /*option*/ InlineBeforeAnalysisPolicyUtils.Options.InlineBeforeAnalysisMethodHandleAllowedDepth,
                /*stability*/ OptionStability.EXPERIMENTAL,
                /*deprecated*/ false,
                /*deprecationMessage*/ "");
        }
        case "InlineBeforeAnalysisMethodHandleAllowedInlinings": {
            return OptionDescriptor.create(
                /*name*/ "InlineBeforeAnalysisMethodHandleAllowedInlinings",
                /*optionType*/ OptionType.Debug,
                /*optionValueType*/ Integer.class,
                /*help*/ "Maximum number of methods inlined for method handle internals before static analysis",
                /*declaringClass*/ InlineBeforeAnalysisPolicyUtils.Options.class,
                /*fieldName*/ "InlineBeforeAnalysisMethodHandleAllowedInlinings",
                /*option*/ InlineBeforeAnalysisPolicyUtils.Options.InlineBeforeAnalysisMethodHandleAllowedInlinings,
                /*stability*/ OptionStability.EXPERIMENTAL,
                /*deprecated*/ false,
                /*deprecationMessage*/ "");
        }
        case "InlineBeforeAnalysisMethodHandleAllowedInvokes": {
            return OptionDescriptor.create(
                /*name*/ "InlineBeforeAnalysisMethodHandleAllowedInvokes",
                /*optionType*/ OptionType.Debug,
                /*optionValueType*/ Integer.class,
                /*help*/ "Maximum number of invokes for method handle internals inlined before static analysis",
                /*declaringClass*/ InlineBeforeAnalysisPolicyUtils.Options.class,
                /*fieldName*/ "InlineBeforeAnalysisMethodHandleAllowedInvokes",
                /*option*/ InlineBeforeAnalysisPolicyUtils.Options.InlineBeforeAnalysisMethodHandleAllowedInvokes,
                /*stability*/ OptionStability.EXPERIMENTAL,
                /*deprecated*/ false,
                /*deprecationMessage*/ "");
        }
        case "InlineBeforeAnalysisMethodHandleAllowedNodes": {
            return OptionDescriptor.create(
                /*name*/ "InlineBeforeAnalysisMethodHandleAllowedNodes",
                /*optionType*/ OptionType.Debug,
                /*optionValueType*/ Integer.class,
                /*help*/ "Maximum number of computation nodes for method handle internals inlined before static analysis",
                /*declaringClass*/ InlineBeforeAnalysisPolicyUtils.Options.class,
                /*fieldName*/ "InlineBeforeAnalysisMethodHandleAllowedNodes",
                /*option*/ InlineBeforeAnalysisPolicyUtils.Options.InlineBeforeAnalysisMethodHandleAllowedNodes,
                /*stability*/ OptionStability.EXPERIMENTAL,
                /*deprecated*/ false,
                /*deprecationMessage*/ "");
        }
        // CheckStyle: resume line length check
        }
        return null;
    }

    @Override
    public Iterator<OptionDescriptor> iterator() {
        return new Iterator<>() {
            int i = 0;
            @Override
            public boolean hasNext() {
                return i < 8;
            }
            @Override
            public OptionDescriptor next() {
                switch (i++) {
                    case 0: return get("InlineBeforeAnalysisAllowedDepth");
                    case 1: return get("InlineBeforeAnalysisAllowedInlinings");
                    case 2: return get("InlineBeforeAnalysisAllowedInvokes");
                    case 3: return get("InlineBeforeAnalysisAllowedNodes");
                    case 4: return get("InlineBeforeAnalysisMethodHandleAllowedDepth");
                    case 5: return get("InlineBeforeAnalysisMethodHandleAllowedInlinings");
                    case 6: return get("InlineBeforeAnalysisMethodHandleAllowedInvokes");
                    case 7: return get("InlineBeforeAnalysisMethodHandleAllowedNodes");
                }
                throw new NoSuchElementException();
            }
        };
    }
}
