
com.oracle.svm.hosted.FeatureHandler_OptionDescriptors Maven / Gradle / Ivy
// CheckStyle: stop header check
// CheckStyle: stop line length check
// GENERATED CONTENT - DO NOT EDIT
// Source: FeatureHandler.java
package com.oracle.svm.hosted;
import java.util.*;
import org.graalvm.compiler.options.*;
import org.graalvm.compiler.options.OptionType;
public class FeatureHandler_OptionDescriptors implements OptionDescriptors {
@Override
public OptionDescriptor get(String value) {
switch (value) {
// CheckStyle: stop line length check
case "Features": {
return OptionDescriptor.create(
/*name*/ "Features",
/*optionType*/ OptionType.Debug,
/*optionValueType*/ String[].class,
/*help*/ "A comma-separated list of fully qualified Feature implementation classes",
/*declaringClass*/ FeatureHandler.Options.class,
/*fieldName*/ "Features",
/*option*/ FeatureHandler.Options.Features);
}
// CheckStyle: resume line length check
}
return null;
}
@Override
public Iterator iterator() {
return new Iterator() {
int i = 0;
@Override
public boolean hasNext() {
return i < 1;
}
@Override
public OptionDescriptor next() {
switch (i++) {
case 0: return get("Features");
}
throw new NoSuchElementException();
}
};
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy