| // This file is autogenerated by | |
| // base/android/java_flag_generator/java_flag_generator.py | |
| // From | |
| // //chrome/flags/test_feature_list.cc | |
| // DO NOT EDIT. | |
| package org.chromium.foo; | |
| import org.chromium.build.annotations.NullMarked; | |
| /** | |
| * Typed accessors for the features in kFeaturesExposedToJava and the params in | |
| * k*ParamsExposedToJava. | |
| */ | |
| @NullMarked | |
| public final class SampleFeatures { | |
| static int getParamValueAsInt(String featureName, String paramName) { | |
| return SampleFeatureMap.getInstance().getParamValueAsInt(featureName, paramName); | |
| } | |
| /** {@code chrome::android::kShadowedParam} */ | |
| public static final class ShadowedParam { | |
| public static final String NAME = "inner_param"; | |
| public static int getValue() { | |
| return getParamValueAsInt("GlobalFeature", NAME); | |
| } | |
| } | |
| /** {@code params::kOfShadowedFeature} */ | |
| public static final class OfShadowedFeature { | |
| public static final String NAME = "OfShadowedFeature"; | |
| public static int getValue() { | |
| return getParamValueAsInt("ParamsShadowedFeature", NAME); | |
| } | |
| } | |
| /** {@code params::kOfGlobalFeature} */ | |
| public static final class OfGlobalFeature { | |
| public static final String NAME = "OfGlobalFeature"; | |
| public static int getValue() { | |
| return getParamValueAsInt("GlobalFeature", NAME); | |
| } | |
| } | |
| /** {@code params::kOfQualifiedFeature} */ | |
| public static final class OfQualifiedFeature { | |
| public static final String NAME = "OfQualifiedFeature"; | |
| public static int getValue() { | |
| return getParamValueAsInt("InNestedNamespace", NAME); | |
| } | |
| } | |
| /** {@code params::kOfExplicitlyGlobalFeature} */ | |
| public static final class OfExplicitlyGlobalFeature { | |
| public static final String NAME = "OfExplicitlyGlobalFeature"; | |
| public static int getValue() { | |
| return getParamValueAsInt("GlobalShadowedFeature", NAME); | |
| } | |
| } | |
| /** {@code real::kAliased} */ | |
| public static final class Aliased { | |
| public static final String NAME = "Aliased"; | |
| public static int getValue() { | |
| return getParamValueAsInt("GlobalFeature", NAME); | |
| } | |
| } | |
| } |